Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Storable to Data::Dumper again

by ph0enix (Friar)
on Jan 09, 2003 at 11:33 UTC ( [id://225508]=note: print w/replies, xml ) Need Help??


in reply to Storable to Data::Dumper again

Hash to be stored must be converted into scalar. This conversion is done by Storable::nfreeze. The MLDBM module does this conversion for you silently and store this linearized value to DBM file you specify using proper module (DB_File is used in your example).

In your example the %o hash is stored in testmldbm file which is BerkeleyDB database file. Not less and not more. Also please read BUGS and WARNINGS section in MLDBM documentation to know about problems with nested structures modification.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://225508]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-24 06:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found