summaryrefslogtreecommitdiff
path: root/pod/perl561delta.pod
diff options
context:
space:
mode:
authorYitzchak Scott-Thoennes <sthoenna@efn.org>2005-11-08 00:46:42 -0800
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-11-08 17:35:58 +0000
commit3e4c7cf008fe62589948871e79a9291f027aff83 (patch)
tree2b4011ed638aa0453d790098901e1eb8c64cd361 /pod/perl561delta.pod
parent4f185743967f505b05e12dd7c1e03858a874cc02 (diff)
downloadperl-3e4c7cf008fe62589948871e79a9291f027aff83.tar.gz
[DOC PATCH] mention @-, @+ in perl56delta.pod
Message-ID: <20051108164642.GD7972@efn.org> p4raw-id: //depot/perl@26047
Diffstat (limited to 'pod/perl561delta.pod')
-rw-r--r--pod/perl561delta.pod6
1 files changed, 6 insertions, 0 deletions
diff --git a/pod/perl561delta.pod b/pod/perl561delta.pod
index fa36ebcf1c..ef4caa7a72 100644
--- a/pod/perl561delta.pod
+++ b/pod/perl561delta.pod
@@ -1388,6 +1388,12 @@ C<fred.com> if you don't backslash the C<@>.
See http://www.plover.com/~mjd/perl/at-error.html for more details
about the history here.
+=head2 @- and @+ provide starting/ending offsets of regex submatches
+
+The new magic variables @- and @+ provide the starting and ending
+offsets, respectively, of $&, $1, $2, etc. See L<perlvar> for
+details.
+
=head1 Modules and Pragmata
=head2 Modules