Skip to content

Commit 0c42fe9

Browse files
panchohrgs
authored andcommitted
[perl #51964] Typo on regular expression at perlopentut manual page.
From: [email protected] (via RT) <[email protected]> Message-ID: <[email protected]> p4raw-id: //depot/perl@33559
1 parent 8a5a710 commit 0c42fe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pod/perlopentut.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ One of the more interesting applications is to change files of a certain
307307
name into pipes. For example, to autoprocess gzipped or compressed
308308
files by decompressing them with I<gzip>:
309309

310-
@ARGV = map { /^\.(gz|Z)$/ ? "gzip -dc $_ |" : $_ } @ARGV;
310+
@ARGV = map { /\.(gz|Z)$/ ? "gzip -dc $_ |" : $_ } @ARGV;
311311

312312
Or, if you have the I<GET> program installed from LWP,
313313
you can fetch URLs before processing them:

0 commit comments

Comments
 (0)