Update: My apologies. I read "gzipped" where you had written plain old "zipped". Please disregard my answer below.
Don't unzip; use the PerlIO gzip layer:
See PerlIO::gzip. You need 5.8.x, though.use PerlIO::gzip; open my $in, '<:gzip', 'foo.txt.gz' or die $!; while (<$in>) { #etc; }
the lowliest monk
In reply to Re: how to process several zipped files
by tlm
in thread how to process several zipped files
by sandeep
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |