This module provides a hassle-free and completely transparent way to add gzip compression to any script that uses CGI. It works equally well under regular CGI as under mod_perl.
Using it is generally as simple as replacing "use CGI;" with "use CGI::Compress::Gzip;".
Your server will like the reduction in bandwidth. Your visitors will like the faster download times. You'll like the ease of use. Everybody wins :-)
A great contribution to CPAN. Thanks Chris Dolan!!