use GDBM_File; tie (%hash, "GDBM_File", $filename, &GDBM_WRCREAT, 0644); # read/writes of %hash are now read/writes of $filename untie %hash;
GDBM_File is a module that allows Perl programs to make use of the facilities provided by the GNU gdbm library. If you intend to use this module, you should have a copy of the gdbm (3) manpage at hand.
Most of the
libgdbm.a
functions are available as methods of the
GDBM_File
interface.
gdbm is available from any GNU archive. The master site is prep.ai.mit.edu, but you are strongly urged to use one of the many mirrors. You can obtain a list of mirror sites by issuing the command, finger [email protected] . A copy is also stored on CPAN:
http://www.perl.com/CPAN/src/misc/gdbm-1.7.3.tar.gz
DB_File library module.
7.2.33 FileHandle - Supply Object Methods for Filehandles | 7.2.35 Getopt::Long - Extended Processing of Command-Line Options |