in reply to Having Unix to unzip a file and Perl to wait untill it finishes
use Tie::Gzip; tie *CONTENT, 'Tie::Gzip'; open(\*CONTENT, "<$input") or die "Can't open $input\n"; while(<CONTENT>){ ... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Having Unix to unzip a file and Perl to wait untill it finishes
by Fletch (Bishop) on Jan 23, 2005 at 02:06 UTC |