Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: open a gdbm file

by Athanasius (Chancellor)
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

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 rifling through the Monastery: (8)
As of 2016-10-24 09:32 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (304 votes). Check out past polls.