#!./perl
#
# Copyright (c) 1995-2000, Raphael Manfredi
#
# You may redistribute only under the same terms as Perl 5, as specified
# in the README file that comes with the distribution.
#
chdir('t') if -d 't';
} else {
}
print "1..0 # Skip: Storable was not built\n";
exit 0;
}
}
print "1..10\n";
$a = 'toto';
$b = \$a;
$c->{attribute} = 'attrval';
%a = ('key', 'value', 1, 0, $a, $b, 'cvar', \$c);
$b, \$a, $a, $c, \$c, \%a);
print "ok 1\n";
print "ok 2\n";
print "ok 3\n";
print "ok 4\n";
return $self;
};
print "ok 5\n";
print "ok 6\n";
# Ensure refs to "undef" values are properly shared during cloning
my $hash;
print "ok 7\n";
print "ok 8\n";
$$cloned{a} = "blah";
print "ok 9\n";
# [ID 20020221.007] SEGV in Storable with empty string scalar object
}
# If still here after the dclone the fix (#17543) worked.