NAME
HTML::Index::Compress - utility module for compressing HTML::Index inverted indices
SYNOPSIS
my $compressor = HTML::Index::Compress->new( COMPRESS => 1);
$compressed = $compressor->deflate( $data );
$data = $compressor->inflate( $compressed );
DESCRIPTION
This is a simple utility module that provides a compressor object to inflate / deflate data, using the Zlib::Compress module. The constructor takes a COMPRESS option, which, if false, turns the inflate / deflate methods into noops.
METHODS
- inflate
-
does exactly what it says on the can ...
- deflate
-
does exactly what it says on the can ...
SEE ALSO
AUTHOR
Ave Wrigley <Ave.Wrigley@itn.co.uk>
COPYRIGHT
Copyright (c) 2001 Ave Wrigley. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.