From: Daniel Grisinger Date: Fri, 19 Jun 1998 07:55:19 +0000 (-0600) Subject: Re: PATCH _67 (Doc) perlop.pod X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=01ae956fe72e02d2484c49d0844f75517893b01d;p=p5sagit%2Fp5-mst-13.2.git Re: PATCH _67 (Doc) perlop.pod Message-ID: p4raw-id: //depot/perl@1171 --- diff --git a/pod/perlop.pod b/pod/perlop.pod index fe6ba1e..b3202e5 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 is optional. With the C -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 applies.