or use Archive::Tar http://theoryx5.uwinnipeg.ca/mod_perl/cpan-search?modinfo=1095
Despite being "alpha", it's pretty solid. I've used in production for a while without an issue. No online docs, so check perldoc once it's installed. 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

