perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carl Johnstone" <modp...@fadetoblack.me.uk>
Subject Re: Need use modules in my code?
Date Wed, 21 Dec 2005 16:36:27 GMT
>>>>>>>>>>>>>>>>>>>
#!/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


Mime
View raw message