Change 11474 by jhi@alpha on 2001/07/29 16:27:54
Subject: [PATCH perlvar.pod] $^N foolery as well
From: "Jeff 'japhy/Marillion' Pinyan" <[EMAIL PROTECTED]>
Date: Thu, 26 Jul 2001 20:03:12 -0400 (EDT)
Message-ID: <[EMAIL PROTECTED]>
Affected files ...
... //depot/perl/pod/perlvar.pod#68 edit
Differences ...
==== //depot/perl/pod/perlvar.pod#68 (text) ====
Index: perl/pod/perlvar.pod
--- perl/pod/perlvar.pod.~1~ Sun Jul 29 10:30:05 2001
+++ perl/pod/perlvar.pod Sun Jul 29 10:30:05 2001
@@ -472,10 +472,8 @@
successful submatches in the currently active dynamic scope.
C<$-[0]> is the offset into the string of the beginning of the
entire match. The I<n>th element of this array holds the offset
-of the I<n>th submatch, so C<$+[1]> is the offset where $1
-begins, C<$+[2]> the offset where $2 begins, and so on.
-You can use C<$#-> to determine how many subgroups were in the
-last successful match. Compare with the C<@+> variable.
+of the I<n>th submatch, so C<$-[1]> is the offset where $1
+begins, C<$-[2]> the offset where $2 begins, and so on.
After a match against some variable $var:
End of Patch.