LPM: portable dbm files
Matt Cashner
sungo at earthling.net
Sat Feb 12 15:47:22 CST 2000
after much cpan digging and what not, i think i've found a way to create
portable dbm files. solution: use Storable.
use MLDBM qw(DB_File Storable);
tie %data, 'MLDBM','file.db',O_CREAT|O_RDWR,0640 or die;
(tied %data)->DumpMeth('portable');
that, for me at least, is creating machine independent binary dbms. i'm
pretty happy about it. :)
---------------------
Matt Cashner
sungo at earthling.net
---------------------
"That which does not kill me postpones the inevitable."
More information about the Lexington-pm
mailing list