diff options
author | 2014-03-24 14:58:42 +0000 | |
---|---|---|
committer | 2014-03-24 14:58:42 +0000 | |
commit | 91f110e064cd7c194e59e019b83bb7496c1c84d4 (patch) | |
tree | 3e8e577405dba7e94b43cbf21c22f21aaa5ab949 /gnu/usr.bin/perl/dist/Data-Dumper/t/lib/Testing.pm | |
parent | do not call purge_task every 10 secs, it is only needed once at startup and (diff) | |
download | wireguard-openbsd-91f110e064cd7c194e59e019b83bb7496c1c84d4.tar.xz wireguard-openbsd-91f110e064cd7c194e59e019b83bb7496c1c84d4.zip |
Import perl-5.18.2
OK espie@ sthen@ deraadt@
Diffstat (limited to 'gnu/usr.bin/perl/dist/Data-Dumper/t/lib/Testing.pm')
-rw-r--r-- | gnu/usr.bin/perl/dist/Data-Dumper/t/lib/Testing.pm | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/dist/Data-Dumper/t/lib/Testing.pm b/gnu/usr.bin/perl/dist/Data-Dumper/t/lib/Testing.pm new file mode 100644 index 00000000000..5eaa8ee73a7 --- /dev/null +++ b/gnu/usr.bin/perl/dist/Data-Dumper/t/lib/Testing.pm @@ -0,0 +1,15 @@ +package Testing; +use 5.006_001; +use strict; +use warnings; +require Exporter; +our @ISA = qw(Exporter); +our @EXPORT_OK = qw(_dumptostr); +use Carp; + +sub _dumptostr { + my ($obj) = @_; + return join '', $obj->Dump; +} + +1; |