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

Remember to use the '-c' flag or you will just uncompress the file and get no input at all.

open(IN, "gunzip -c $file |") or die "gunzip $file: $!";

bluto