in reply to Re^6: Reading zipped files (.gz)
in thread Reading zipped files (.gz)
You already have been introduced to the concept of reading from pipes. Maybe try
my $cmd = sprintf 'gzip -cd "%s"', $file; open my $fh, $cmd or die "Couldn't read [$cmd]: $!";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: Reading zipped files (.gz)
by ravi45722 (Pilgrim) on Nov 18, 2015 at 10:08 UTC | |
by Corion (Patriarch) on Nov 18, 2015 at 10:10 UTC | |
by ravi45722 (Pilgrim) on Nov 18, 2015 at 10:17 UTC | |
by Corion (Patriarch) on Nov 18, 2015 at 10:22 UTC | |
by ravi45722 (Pilgrim) on Nov 18, 2015 at 10:50 UTC | |
by Corion (Patriarch) on Nov 18, 2015 at 11:42 UTC | |
|