#!/usr/bin/perl
use Compress::Zlib;
.....
print Compress::Zlib::memGzip($htmlstr);

<<<<<<<<<<<<<<<<<<<<

This one is best practise - and is a requirement when you want to import functions into your own scripts name space.

Carl

Reply via email to