start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 8.84 FindBin Chapter 8
Standard Modules
Next: 8.86 Getopt::Long
 

8.85 GDBM_File

Allows Perl programs to make use of the facilities provided by the GNU gdbm library. Most of the libgdbm.a functions are available as methods of the GDBM_File interface. See the gdbm(3) manpage and the description of DB_File in this chapter. The following is an example of the use of GDBM_File:

use GDBM_File;  tie %hash, "GDBM_File", $filename, &GDBM_WRCREAT, 0644); # read/writes of %hash are now read/writes of $filename untie %hash;


Previous: 8.84 FindBin Perl in a Nutshell Next: 8.86 Getopt::Long
8.84 FindBin Book Index 8.86 Getopt::Long