Better yet, see IO::Zlib, which lets you use a simple filehandle interface.
use IO::Zlib; #requires Compress::Zlib, of course my $fh = IO::Zlib->new("foo.gz"); while (<$fh>) { go_nuts(); }
In reply to Re: Re: opening and reading .gz file
by ChemBoy
in thread Opening and reading .gz file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |