$^N foolery as well
authorJeff Pinyan <japhy@pobox.com>
Thu, 26 Jul 2001 20:03:12 +0000 (16:03 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Sun, 29 Jul 2001 16:27:54 +0000 (16:27 +0000)
Message-ID: <Pine.GSO.4.21.0107261958380.28213-100000@crusoe.crusoe.net>

p4raw-id: //depot/perl@11474

pod/perlvar.pod

index 817f1e5..d9b4c41 100644 (file)
@@ -472,10 +472,8 @@ This array holds the offsets of the beginnings of the last
 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: