summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-05-01 08:39:18 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-05-01 08:39:18 +0000
commitfe3079813a2f08204ed96a614faf9e57693108d1 (patch)
tree39b393dea3eb99906fc100b72d233289eb7b7116 /pod
parent3d1a2ec4907585a079fab9dc4764c16e7e3b58e3 (diff)
downloadperl-fe3079813a2f08204ed96a614faf9e57693108d1.tar.gz
introduce @LAST_MATCH_START and @LAST_MATCH_END, English aliases
for @- and @+ (from Johan Vromans) p4raw-id: //depot/perl@6030
Diffstat (limited to 'pod')
-rw-r--r--pod/perlvar.pod4
1 files changed, 4 insertions, 0 deletions
diff --git a/pod/perlvar.pod b/pod/perlvar.pod
index 4ad8d1248f..15308e45aa 100644
--- a/pod/perlvar.pod
+++ b/pod/perlvar.pod
@@ -174,6 +174,8 @@ example:
(Mnemonic: be positive and forward looking.)
This variable is read-only and dynamically scoped to the current BLOCK.
+=item @LAST_MATCH_END
+
=item @+
This array holds the offsets of the ends of the last successful
@@ -412,6 +414,8 @@ channel.
Used with formats.
(Mnemonic: lines_on_page - lines_printed.)
+=item @LAST_MATCH_START
+
=item @-
$-[0] is the offset of the start of the last successful match.