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

Programming Perl

Programming PerlSearch this book
Previous: 7.2.46 Net::Ping - Check Whether a Host Is Online Chapter 7
The Standard Perl Library
Next: 7.2.48 overload - Overload Perl's Mathematical Operations
 

7.2.47 ODBM_File - Tied Access to ODBM Files

use Fcntl; use ODBM_File;  tie(%hash, ODBM_File, 'Op.dbmx', O_RDWR|O_CREAT, 0644); # read/writes of %hash are now read/writes of the file, Op.dmx untie %hash;

See Perl's built-in tie function. Also see under DB_File in this chapter for a description of a closely related module.


Previous: 7.2.46 Net::Ping - Check Whether a Host Is Online Programming Perl Next: 7.2.48 overload - Overload Perl's Mathematical Operations
7.2.46 Net::Ping - Check Whether a Host Is Online Book Index 7.2.48 overload - Overload Perl's Mathematical Operations