in reply to Re^8: Reading zipped files (.gz)
in thread Reading zipped files (.gz)
Sorry, that's my error. The command to open must be:
my $cmd = sprintf 'gzip -cd "%s" |', $file;
I think now is a good time to (re)read and understand the documentation for open.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^10: Reading zipped files (.gz)
by ravi45722 (Pilgrim) on Nov 18, 2015 at 10:17 UTC | |
by Corion (Patriarch) on Nov 18, 2015 at 10:22 UTC | |
|
Re^10: Reading zipped files (.gz)
by ravi45722 (Pilgrim) on Nov 18, 2015 at 10:50 UTC | |
by Corion (Patriarch) on Nov 18, 2015 at 11:42 UTC | |
|