Mariano Cunietti wrote:
> Hi all,
> can anyone address me to a Perl module/function to parse gzipped log
> files without uncompressing them via gzip/gunzip? Thanks

This search will turn up some modules:

http://search.cpan.org/search?query=gzip&mode=module

You might also just read from the output of 'gunzip -c' or 'zcat'

   open F, 'gunzip -c somefile.log.gz|' or die $!;
   while (<F>) {
       # process log data here
   }

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to