On Thursday, February 27, 2003, at 01:43 PM, Carlton Lo wrote:


Hi,
I'm new to perl, I'm trying to write a pl script that would open a gzipped txt file. Is there any functions where I can call for this. I've tried the followings:


method #1 open(IN, "gunzip -c data.gz") || die "cannot open input data file";

isn't there a pipe character missing? Try this:


open(IN, "gunzip -c data.gz | ")

_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to