diff options
author | Jeff Pinyan <japhy@pobox.com> | 2001-07-26 16:03:12 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-07-29 16:27:54 +0000 |
commit | 0926d669f0aeb90483227aeb54b96aaa4edee0f3 (patch) | |
tree | 3d5e4c9c8208e6f221ff4b9404a21e3a870ed33f /pod | |
parent | b0d6893fb5af8739d745fccad7f35ebc85b65f31 (diff) | |
download | perl-0926d669f0aeb90483227aeb54b96aaa4edee0f3.tar.gz |
$^N foolery as well
Message-ID: <Pine.GSO.4.21.0107261958380.28213-100000@crusoe.crusoe.net>
p4raw-id: //depot/perl@11474
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perlvar.pod | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pod/perlvar.pod b/pod/perlvar.pod index 817f1e5fb5..d9b4c4173e 100644 --- a/pod/perlvar.pod +++ b/pod/perlvar.pod @@ -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: |