diff options
-rw-r--r-- | lib/vars.pm | 6 |
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. |