Meet Archive::Tar at CPAN, your new best friend. Way easier than mucking
with open() :)



On Thu, 2003-02-27 at 13:43, 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";
> 
> method #2     pass the filename as ARGV and execute the script as $perl test.pl 
> 'gunzip -c data.gz'
> 
> they both failed! any ideas
> thanks
> Carlton Lo
> mailto:[EMAIL PROTECTED]
> 
> _______________________________________________
> Boston-pm mailing list
> [EMAIL PROTECTED]
> http://mail.pm.org/mailman/listinfo/boston-pm

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

Reply via email to