1 # NOTE: Derived from blib/lib/Storable.pm.
2 # Changes made here will be lost when autosplit is run again.
6 #line 330 "blib/lib/Storable.pm (autosplit into blib/lib/auto/Storable/_freeze.al)"
7 # Internal freeze routine
11 logcroak "not a reference" unless ref($self);
12 logcroak "too many arguments" unless @_ == 0; # No @foo in arglist
13 my $da = $@; # Don't mess if called from exception handler
15 # Call C routine mstore or net_mstore, depending on network order
16 eval { $ret = &$xsptr($self) };
17 logcroak $@ if $@ =~ s/\.?\n$/,/;
19 return $ret ? $ret : undef;
22 # end of Storable::_freeze