summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorPhilip Newton <pne@cpan.org>2001-07-01 11:37:56 +0200
committerJarkko Hietaniemi <jhi@iki.fi>2001-07-02 12:49:51 +0000
commitad83b128fe70663b30fda889dc59fe236e6794de (patch)
tree6644ac0f37934cbf4773fb2a4524baae7662fb8d /pod
parent61c0c206f1e81b79c3d9bf6a93163ffbcdfbc167 (diff)
downloadperl-ad83b128fe70663b30fda889dc59fe236e6794de.tar.gz
Suggestion for mnemonic for $^N
Message-Id: <200107010733.KAA03920@taas.iki.fi> p4raw-id: //depot/perl@11073
Diffstat (limited to 'pod')
-rw-r--r--pod/perlvar.pod5
1 files changed, 4 insertions, 1 deletions
diff --git a/pod/perlvar.pod b/pod/perlvar.pod
index d70f22d1bd..817f1e5fb5 100644
--- a/pod/perlvar.pod
+++ b/pod/perlvar.pod
@@ -193,7 +193,10 @@ This variable is read-only and dynamically scoped to the current BLOCK.
The text matched by the used group most-recently closed (i.e. the group
with the rightmost closing parenthesis) of the last successful search
-pattern. This is primarly used inside C<(?{...})> blocks for examining text
+pattern. (Mnemonic: the (possibly) Nested parenthesis that most
+recently closed.)
+
+This is primarly used inside C<(?{...})> blocks for examining text
recently matched. For example, to effectively capture text to a variable
(in addition to C<$1>, C<$2>, etc.), replace C<(...)> with