source: for-distributions/trunk/bin/windows/perl/lib/auto/Storable/thaw.al@ 14489

Last change on this file since 14489 was 14489, checked in by oranfry, 17 years ago

upgrading to perl 5.8

File size: 693 bytes
Line 
1# NOTE: Derived from ..\..\lib\Storable.pm.
2# Changes made here will be lost when autosplit is run again.
3# See AutoSplit.pm.
4package Storable;
5
6#line 355 "..\..\lib\Storable.pm (autosplit into ..\..\lib\auto\Storable\thaw.al)"
7#
8# thaw
9#
10# Recreate objects in memory from an existing frozen image created
11# by freeze. If the frozen image passed is undef, return undef.
12#
13sub thaw {
14 my ($frozen) = @_;
15 return undef unless defined $frozen;
16 my $self;
17 my $da = $@; # Could be from exception handler
18 eval { $self = mretrieve($frozen) }; # Call C routine
19 logcroak $@ if $@ =~ s/\.?\n$/,/;
20 $@ = $da;
21 return $self;
22}
23
241;
25__END__
26
271;
28# end of Storable::thaw
Note: See TracBrowser for help on using the repository browser.