sub BEGIN {
chdir('t') if -d 't';
+ unshift @INC, '../lib';
require Config; import Config;
if ($Config{'extensions'} !~ /\bStorable\b/) {
print "1..0 # Skip: Storable was not built\n";
exit 0;
}
- unshift @INC, '../lib';
require 'lib/st-dump.pl';
}
print "not " unless $got eq $dumped;
print "ok 5\n";
-unlink 'store';
+1 while unlink 'store';
package FOO; @ISA = qw(Storable);
print "ok 20\n";
close OUT;
-END { unlink 'store' }
+END { 1 while unlink 'store' }