diff options
author | Daniel Grisinger <dgris@dimensional.com> | 1998-06-19 01:55:19 -0600 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-06-21 00:44:42 +0000 |
commit | 01ae956fe72e02d2484c49d0844f75517893b01d (patch) | |
tree | 18787b135e0db262ba2ca6a9085d349a65c3fb19 | |
parent | e7083a8c1beb350902094139257101ff6e479d32 (diff) | |
download | perl-01ae956fe72e02d2484c49d0844f75517893b01d.tar.gz |
Re: PATCH _67 (Doc) perlop.pod
Message-ID: <Pine.LNX.3.96.980619075203.13326A-100000@perrin.dimensional.com>
p4raw-id: //depot/perl@1171
-rw-r--r-- | pod/perlop.pod | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pod/perlop.pod b/pod/perlop.pod index fe6ba1e90f..b3202e540b 100644 --- a/pod/perlop.pod +++ b/pod/perlop.pod @@ -620,7 +620,7 @@ the same character fore and aft, but the 4 sorts of brackets Customary Generic Meaning Interpolates '' q{} Literal no "" qq{} Literal yes - `` qx{} Command yes + `` qx{} Command yes (unless '' is delimiter) qw{} Word list no // m{} Pattern match yes s{}{} Substitution yes @@ -741,8 +741,11 @@ Options are: x Use extended regular expressions. If "/" is the delimiter then the initial C<m> is optional. With the C<m> -you can use any pair of non-alphanumeric, non-whitespace characters as -delimiters. This is particularly useful for matching Unix path names +you can use any pair of non-alphanumeric, non-whitespace characters +as delimiters (if single quotes are used, no interpretation is done +on the replacement string. Unlike Perl 4, Perl 5 treats backticks as normal +delimiters; the replacement text is not evaluated as a command). +This is particularly useful for matching Unix path names that contain "/", to avoid LTS (leaning toothpick syndrome). If "?" is the delimiter, then the match-only-once rule of C<?PATTERN?> applies. |