use Storable qw/freeze thaw/; use MIME::Base64 qw/encode_base64 decode_base64/; my $data_ref = { a => 'xx', b => 42 }; my $encoded = encode_base64( freeze($data_ref) ); # store $encoded in a database # restore data $data_ref = thaw( decode_base64($encoded) );
In reply to Re: Data::Dumper / Storable help
by borisz
in thread Data::Dumper / Storable help
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |