New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PATCH 5.6.0] perlop: $( does not interpolate #1923
Comments
From newton@ficus.frogspace.netCreated by newton@newton.digitalspace.netThe configuration information at the bottom is irrelevant because this is just perlop.pod, in the section '=item m/PATTERN/cgimosx' / '=item Later on, in section '=item C<?RE?>, C</RE/>, C<m/RE/>, C<s/RE/foo/>', $( is This patch updates the first section to also mention C<$(>. Inline Patch
Perl Info
|
From [Unknown Contact. See original ticket]"Philip Newton,,," <newton@ficus.frogspace.net> wrote I thought I'd sent a patch for this ages ago. Obviously I didn't get
While you're patching, change that 'might not be' to 'are not', since they Mike Guy |
From [Unknown Contact. See original ticket]On Tue, 2 May 2000, M.J.T. Guy wrote:
Sure. This makes the patch shorter, too :-) Inline Patch--- perlop.pod~ Sun Mar 19 07:17:07 2000
+++ perlop.pod Wed May 3 10:31:03 2000
@@ -788,8 +788,8 @@
PATTERN may contain variables, which will be interpolated (and the
pattern recompiled) every time the pattern search is evaluated, except
-for when the delimiter is a single quote. (Note that C<$)> and C<$|>
-might not be interpolated because they look like end-of-string tests.)
+for when the delimiter is a single quote. (Note that C<$(>, C<$)>, and
+C<$|> are not interpolated because they look like end-of-string tests.)
If you want such a pattern to be compiled only once, add a C</o> after
the trailing delimiter. This avoids expensive run-time recompilations,
and is useful when the value you are interpolating won't change over
Cheers, |
From @ysthIn article <E12mbmZ-00017X-00@ursa.cus.cam.ac.uk>,
${|} |
Migrated from rt.perl.org#3193 (status was 'resolved')
Searchable as RT3193$
The text was updated successfully, but these errors were encountered: