summaryrefslogtreecommitdiff
path: root/t/TestYAMLBase.pm
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2015-04-18 15:03:28 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2015-04-18 15:03:28 +0000
commit2fe5b8de1e9d06482aa76303e7342bc6605700ea (patch)
treecccc47c409970b2db7a8f64f6c25e993270ddf9b /t/TestYAMLBase.pm
downloadYAML-tarball-master.tar.gz
Diffstat (limited to 't/TestYAMLBase.pm')
-rw-r--r--t/TestYAMLBase.pm11
1 files changed, 11 insertions, 0 deletions
diff --git a/t/TestYAMLBase.pm b/t/TestYAMLBase.pm
new file mode 100644
index 0000000..a7aab6f
--- /dev/null
+++ b/t/TestYAMLBase.pm
@@ -0,0 +1,11 @@
+package TestYAMLBase;
+
+sub new {
+ my $self = bless {}, shift;
+ while (my ($k, $v) = splice @_, 0, 2) {
+ $self->{$k} = $v;
+ }
+ return $self;
+}
+
+1;