in reply to Re: oepning and reading ,gz file
in thread Opening and reading .gz file

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(); }



If God had meant us to fly, he would *never* have given us the railroads.
    --Michael Flanders