DBM_Filter::compress(3p) Perl Programmers Reference Guide

DBM_Filter::compress(3p) Perl Programmers Reference Guide #

DBM_Filter::compress(3p) Perl Programmers Reference Guide

NNAAMMEE #

 DBM_Filter::compress - filter for DBM_Filter

SSYYNNOOPPSSIISS #

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

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

DDEESSCCRRIIPPTTIIOONN #

 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.

SSEEEE AALLSSOO #

 DBM_Filter, perldbmfilter, Compress::Zlib

AAUUTTHHOORR #

 Paul Marquess pmqs@cpan.org

perl v5.36.3 2014-11-17 DBM_Filter::compress(3p)