diff options
author | Abigail <abigail@abigail.be> | 2000-08-21 10:00:16 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-08-21 18:34:02 +0000 |
commit | 262ffc8be548be2f2a2965924cd61b35c8dcbc26 (patch) | |
tree | 78004016636df311bd9b6966e28202e84a530423 /pod/perlre.pod | |
parent | 8a523ae08453295a34aa037a4aa24b1e5083a323 (diff) | |
download | perl-262ffc8be548be2f2a2965924cd61b35c8dcbc26.tar.gz |
A pod nit.
Subject: [PATCH] pod/perlre.pod (was Re: [ID 20000821.007] $&, $1, etc. disappear when sub returns)
Message-ID: <20000821180016.28627.qmail@foad.org>
p4raw-id: //depot/perl@6756
Diffstat (limited to 'pod/perlre.pod')
-rw-r--r-- | pod/perlre.pod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlre.pod b/pod/perlre.pod index fa4aad25fd..380bc5f1f3 100644 --- a/pod/perlre.pod +++ b/pod/perlre.pod @@ -360,7 +360,7 @@ everything before the matched string. And C<$'> returns everything after the matched string. The numbered variables ($1, $2, $3, etc.) and the related punctuation -set (C<<$+>, C<$&>, C<$`>, and C<$'>) are all dynamically scoped +set (C<$+>, C<$&>, C<$`>, and C<$'>) are all dynamically scoped until the end of the enclosing block or until the next successful match, whichever comes first. (See L<perlsyn/"Compound Statements">.) |