Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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:

DB_HASH

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1001167]
help
Chatterbox?
[Happy-the-monk]: LanX; you did?
[Discipulus]: ah! plastering thanks..
[LanX]: I'd need english subtitles ... like with most English speaking movies...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2018-02-19 10:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (262 votes). Check out past polls.

    Notices?