blob: 495a71769ebeca2617c4cd2dc0fc94b0d8183585 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# NOTE: Derived from ..\..\lib\Storable.pm.
# Changes made here will be lost when autosplit is run again.
# See AutoSplit.pm.
package Storable;
#line 404 "..\..\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
|