ODBM_File 5.8.8
Sponsored Links
ODBM_File 5.8.8 Ranking & Summary
File size:
12.2 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
892
Date added:
2007-05-15
Publisher:
ODBM_File team
ODBM_File 5.8.8 description
ODBM_File is a Perl module to allow tied access to odbm files.
SYNOPSIS
use Fcntl; # For O_RDWR, O_CREAT, etc.
use ODBM_File;
# Now read and change the hash
$h{newkey} = newvalue;
print $h{oldkey};
...
untie %h;
ODBM_File establishes a connection between a Perl hash variable and a file in ODBM_File format;. You can manipulate the data in the file just as if it were in a Perl hash, but when your program exits, the data will remain in the file, to be used the next time your program runs.
Use ODBM_File with the Perl built-in tie function to establish the connection between the variable and the file. The arguments to tie should be:
The hash variable you want to tie.
The string "ODBM_File". (Ths tells Perl to use the ODBM_File package to perform the functions of the hash.)
The name of the file you want to tie to the hash.
Flags. Use one of:
O_RDONLY
Read-only access to the data in the file.
O_WRONLY
Write-only access to the data in the file.
O_RDWR
Both read and write access.
If you want to create the file if it does not exist, add O_CREAT to any of these, as in the example. If you omit O_CREAT and the file does not already exist, the tie call will fail.
The default permissions to use if a new file is created. The actual permissions will be modified by the users umask, so you should probably use 0666 here. (See "umask" in perlfunc.)
SYNOPSIS
use Fcntl; # For O_RDWR, O_CREAT, etc.
use ODBM_File;
# Now read and change the hash
$h{newkey} = newvalue;
print $h{oldkey};
...
untie %h;
ODBM_File establishes a connection between a Perl hash variable and a file in ODBM_File format;. You can manipulate the data in the file just as if it were in a Perl hash, but when your program exits, the data will remain in the file, to be used the next time your program runs.
Use ODBM_File with the Perl built-in tie function to establish the connection between the variable and the file. The arguments to tie should be:
The hash variable you want to tie.
The string "ODBM_File". (Ths tells Perl to use the ODBM_File package to perform the functions of the hash.)
The name of the file you want to tie to the hash.
Flags. Use one of:
O_RDONLY
Read-only access to the data in the file.
O_WRONLY
Write-only access to the data in the file.
O_RDWR
Both read and write access.
If you want to create the file if it does not exist, add O_CREAT to any of these, as in the example. If you omit O_CREAT and the file does not already exist, the tie call will fail.
The default permissions to use if a new file is created. The actual permissions will be modified by the users umask, so you should probably use 0666 here. (See "umask" in perlfunc.)
ODBM_File 5.8.8 Screenshot
ODBM_File 5.8.8 Keywords
ODBM
File 5.8.8
CREAT
access to
to allow
Perl module
file
Perl
o
access
hash
tie
ODBM_File
ODBMFile
ODBM_File 5.8.8
Libraries
Bookmark ODBM_File 5.8.8
ODBM_File 5.8.8 Copyright
WareSeeker periodically updates pricing and software information of ODBM_File 5.8.8 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of ODBM_File 5.8.8 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
NDBM_File is a Perl module that allows tied access to ndbm files. Free Download
DB_File is a Perl5 access to Berkeley DB version 1.x. Free Download
GDBM_File package allows Perl5 access to the gdbm library. Free Download
B::Assembler is a Perl module created to assemble Perl bytecode. Free Download
DBI::ProfileData can manipulate DBI::ProfileDumper data dumps. Free Download
Zoidberg is a modular Perl shell. Free Download
DBIx::TableHash is a Perl module that can tie a hash to a mysql table + SQL utils. Free Download
OpenGeDB Perl module is a module to access the OpenGeoDB database and calculate all ZIP codes in a certain radius. Free Download
Latest Software
Popular Software
Favourite Software