From: pancho@pancho.name (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-25460-
1206095463-311.51964-75-0@perl.org>
p4raw-id: //depot/perl@33559
name into pipes. For example, to autoprocess gzipped or compressed
files by decompressing them with I<gzip>:
- @ARGV = map { /^\.(gz|Z)$/ ? "gzip -dc $_ |" : $_ } @ARGV;
+ @ARGV = map { /\.(gz|Z)$/ ? "gzip -dc $_ |" : $_ } @ARGV;
Or, if you have the I<GET> program installed from LWP,
you can fetch URLs before processing them: