|
|
use SDBM_File; # or DB_File, or GDBM_File, or NDBM_File, or ODBM_File use DBM_Filter ;
$db = tie %hash, ... $db->Filter_Push('compress'); =head1 DESCRIPTION
This DBM filter will compress all data before it is written to the database and uncompressed it on reading.
A fatal error will be thrown if the Compress::Zlib module is not available.
the DBM_Filter manpage, the perldbmfilter manpage, the Compress::Zlib manpage
Paul Marquess pmqs@cpan.org