Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: open a gdbm file

by Athanasius (Canon)
on Oct 27, 2012 at 06:25 UTC ( #1001167=note: print w/ replies, xml ) Need Help??

in reply to open a gdbm file

I want to open a gdbm file.

From the documentation, it appears that the DB_File module cannot be used with gdbm files:


This database type allows arbitrary key/value pairs to be stored in data files. This is equivalent to the functionality provided by other hashing packages like DBM, NDBM, ODBM, GDBM, and SDBM. Remember though, the files created using DB_HASH are not compatible with any of the other packages mentioned.

Try the GDBM_File module instead.

Hope that helps,

Athanasius <°(((><contra mundum

Comment on Re: open a gdbm file

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2015-12-01 00:30 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (788 votes), past polls