summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-02-08 07:22:46 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-02-08 07:22:46 +0000
commitb459063d13fd72246e4b59dcba764d7bacaf12c7 (patch)
treec7bd1ed31cb6ff7e4c930f5aebe8fdcf87869739
parentde9935764f15576c558d571d489e20d90137c654 (diff)
downloadperl-b459063d13fd72246e4b59dcba764d7bacaf12c7.tar.gz
alias to $^V to $PERL_VERSION_TUPLE
p4raw-id: //depot/perl@5039
-rw-r--r--lib/English.pm2
-rw-r--r--pod/perlvar.pod2
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/English.pm b/lib/English.pm
index 86d75a4268..4e3210b12c 100644
--- a/lib/English.pm
+++ b/lib/English.pm
@@ -87,6 +87,7 @@ sub import {
*EGID
*PROGRAM_NAME
*PERL_VERSION
+ *PERL_VERSION_TUPLE
*ACCUMULATOR
*DEBUGGING
*SYSTEM_FD_MAX
@@ -165,6 +166,7 @@ sub import {
# Internals.
*PERL_VERSION = *] ;
+ *PERL_VERSION_TUPLE = *^V ;
*ACCUMULATOR = *^A ;
*COMPILING = *^C ;
*DEBUGGING = *^D ;
diff --git a/pod/perlvar.pod b/pod/perlvar.pod
index 28842efa5b..f0cb109005 100644
--- a/pod/perlvar.pod
+++ b/pod/perlvar.pod
@@ -873,6 +873,8 @@ The time at which the program began running, in seconds since the
epoch (beginning of 1970). The values returned by the B<-M>, B<-A>,
and B<-C> filetests are based on this value.
+=item $PERL_VERSION_TUPLE
+
=item $^V
The revision, version, and subversion of the Perl interpreter, represented