[boulder.pm] perl read .gz?

Walter Pienciak walter at frii.com
Thu Jun 8 18:00:22 CDT 2000


On Thu, 8 Jun 2000, Robert L. Harris wrote:

> Is there a perl module to let me read a .gz or .Z file as if it was 
> plain text?  I'm currently doing a:
> 
> open(INFILE, "gunzip -c file.gz |");
> while(<INFILE>) {
>   #stuff
> }

Hi,

Take a gander at Compress::Zlib

Walter




More information about the Boulder-pm mailing list