summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-01-14 04:35:55 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-01-14 04:35:55 +0000
commit86a9aef26fb49fa244fdb909e2ecabafc79006a1 (patch)
treec5b11fdd2845f788e79d82b9e2d28ff1c35c2312 /lib
parentf472eb5c07ed95306a11c98250bda17aae994339 (diff)
downloadperl-86a9aef26fb49fa244fdb909e2ecabafc79006a1.tar.gz
add note about "our"
p4raw-id: //depot/perl@4802
Diffstat (limited to 'lib')
-rw-r--r--lib/vars.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/vars.pm b/lib/vars.pm
index ca2a08dcf6..6ae5373f89 100644
--- a/lib/vars.pm
+++ b/lib/vars.pm
@@ -45,7 +45,7 @@ __END__
=head1 NAME
-vars - Perl pragma to predeclare global variable names
+vars - Perl pragma to predeclare global variable names (obsolete)
=head1 SYNOPSIS
@@ -53,6 +53,10 @@ vars - Perl pragma to predeclare global variable names
=head1 DESCRIPTION
+NOTE: The functionality provided by this pragma has been superseded
+by C<our> declarations, available in Perl v5.6.0 or later. See
+L<perlfunc/our>.
+
This will predeclare all the variables whose names are
in the list, allowing you to use them under "use strict", and
disabling any typo warnings.