git-svn-id: https://192.168.0.254/svn/Proyectos.AbetoArmarios_Web/trunk@8 5f5cdc87-09bc-1947-a3a7-c45bb6b47c2a
29 lines
693 B
Perl
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
|