This repository has been archived on 2024-12-02. You can view files and clone it, but cannot push or open issues or pull requests.
AbetoArmarios_Web/Source/udrive/usr/lib/auto/Storable/thaw.al
2007-06-18 10:53:18 +00:00

29 lines
693 B
Perl

# NOTE: Derived from ..\..\lib\Storable.pm.
# Changes made here will be lost when autosplit is run again.
# See AutoSplit.pm.
package Storable;
#line 352 "..\..\lib\Storable.pm (autosplit into ..\..\lib\auto\Storable\thaw.al)"
#
# thaw
#
# Recreate objects in memory from an existing frozen image created
# by freeze. If the frozen image passed is undef, return undef.
#
sub thaw {
my ($frozen) = @_;
return undef unless defined $frozen;
my $self;
my $da = $@; # Could be from exception handler
eval { $self = mretrieve($frozen) }; # Call C routine
logcroak $@ if $@ =~ s/\.?\n$/,/;
$@ = $da;
return $self;
}
1;
__END__
1;
# end of Storable::thaw