diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2015-04-18 15:03:28 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2015-04-18 15:03:28 +0000 |
commit | 2fe5b8de1e9d06482aa76303e7342bc6605700ea (patch) | |
tree | cccc47c409970b2db7a8f64f6c25e993270ddf9b /t/TestYAMLBase.pm | |
download | YAML-tarball-master.tar.gz |
Diffstat (limited to 't/TestYAMLBase.pm')
-rw-r--r-- | t/TestYAMLBase.pm | 11 |
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; |