diff options
author | Nicholas Clark <nick@ccl4.org> | 2004-06-17 14:57:14 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2004-06-17 14:57:14 +0000 |
commit | 2b2a4664da7980c277c65f9377a7c7e38a1858c3 (patch) | |
tree | 9e574e9af72060970f678adcd1bbc8f3886bd671 /ext | |
parent | fa523c3aebaa750d8df9401d8df709a481d30174 (diff) | |
download | perl-2b2a4664da7980c277c65f9377a7c7e38a1858c3.tar.gz |
Change 22516 forgot to add make_overload.pl to generate test data
(submitted from the pub via wireless, bluetooth and then GPRS out
to the Internet)
p4raw-id: //depot/perl@22944
Diffstat (limited to 'ext')
-rw-r--r-- | ext/Storable/t/make_overload.pl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ext/Storable/t/make_overload.pl b/ext/Storable/t/make_overload.pl new file mode 100644 index 0000000000..bd224f5373 --- /dev/null +++ b/ext/Storable/t/make_overload.pl @@ -0,0 +1,13 @@ +#!/usr/local/bin/perl -w +use strict; + +use Storable qw(nfreeze); +use HAS_OVERLOAD; + +my $o = HAS_OVERLOAD->make("snow"); +my $f = nfreeze \$o; + +my $uu = pack 'u', $f; + +print $uu; + |