- or download this
use Storable qw(freeze thaw);
...
$buffer = freeze($obj);
- or download this
$newInstance = thaw($buffer); - or download this
sub store {
my $obj = shift;
my $key = $obj->key;
...
}
return undef;
}
- or download this
store \%table, 'file';
$hashref = retrieve('file');
- or download this
store_fd \@array, \*STDOUT;
nstore_fd \%table, \*STDOUT;
$aryref = fd_retrieve(\*SOCKET);
$hashref = fd_retrieve(\*SOCKET);