http://www.perlmonks.org?node_id=1115

lib:GDBM_File

See the current Perl documentation for lib:GDBM_File.

Here is our local, out-dated (pre-5.6) version:


GDBM_File - Perl5 access to the gdbm library.



    use GDBM_File ;
    tie %hash, 'GDBM_File', $filename, &GDBM_WRCREAT, 0640;
    # Use the %hash array.
    untie %hash ;



GDBM_File is a module which allows Perl programs to make use of the facilities provided by the GNU gdbm library. If you intend to use this module you should really have a copy of the gdbm manualpage at hand.

Most of the libgdbm.a functions are available through the GDBM_File interface.


AVAILABILITY

Gdbm is available from any GNU archive. The master site is prep.ai.mit.edu, but your are strongly urged to use one of the many mirrors. You can obtain a list of mirror sites by issuing the command finger fsf@prep.ai.mit.edu.


BUGS

The available functions and the gdbm/perl interface need to be documented.


SEE ALSO

perl(1), DB_File(3).