On 8/2/07, Charlotte Hee <[EMAIL PROTECTED]> wrote:

>    open(IN,"$GZCAT $file_location/$input") || die "Cannot read $input\n";

I think you want a piped open:

  open(IN, "$GZCAT $file_location/$input |")
    or die "Cannot gzcat '$input': $!";

Hope this helps!

--Tom Phoenix
Stonehenge Perl Training

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


Reply via email to