Modules

  • ABCDE
  • FGHIL
  • MNOPS
  • TUX

Tools

DBM_Filter::compress

Perl 5 version 18.2 documentation
Recently read

DBM_Filter::compress

NAME

DBM_Filter::compress - filter for DBM_Filter

SYNOPSIS

  1. use SDBM_File; # or DB_File, or GDBM_File, or NDBM_File, or ODBM_File
  2. use DBM_Filter ;
  3. $db = tie %hash, ...
  4. $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 pmqs@cpan.org