summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Grisinger <dgris@dimensional.com>1998-06-19 01:55:19 -0600
committerGurusamy Sarathy <gsar@cpan.org>1998-06-21 00:44:42 +0000
commit01ae956fe72e02d2484c49d0844f75517893b01d (patch)
tree18787b135e0db262ba2ca6a9085d349a65c3fb19
parente7083a8c1beb350902094139257101ff6e479d32 (diff)
downloadperl-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.pod9
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.