DBM_Filter::compress

CONTENTS

NAME

DBM_Filter::compress - filter for DBM_Filter

SYNOPSIS

use SDBM_File; # or DB_File, GDBM_File, NDBM_File, ODBM_File
use DBM_Filter ;

$db = tie %hash, ...
$db->Filter_Push('compress');

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.

SEE ALSO

DBM_Filter, perldbmfilter, Compress::Zlib

AUTHOR

Paul Marquess [email protected]

© 1993–2020 Larry Wall and others
Licensed under the GNU General Public License version 1 or later, or the Artistic License.
The Perl logo is a trademark of the Perl Foundation.
https://perldoc.perl.org/5.30.3/DBM_Filter::compress