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
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">.)