summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlperl/lib/subs.pm
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-03-10 21:56:14 +0000
committerKarl Berry <karl@freefriends.org>2019-03-10 21:56:14 +0000
commite0a2a718e89f9700d627f1e6a8eea8f21d2fbeb8 (patch)
tree39972f65008b0d70f306a5f976494d29411bc41e /Master/tlpkg/tlperl/lib/subs.pm
parentb206fdc77d81ed1600949062f08de5690a4bf66f (diff)
tl19 perl 5.28.1 for Windows, from Siep
git-svn-id: svn://tug.org/texlive/trunk@50322 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/tlperl/lib/subs.pm')
-rw-r--r--Master/tlpkg/tlperl/lib/subs.pm13
1 files changed, 7 insertions, 6 deletions
diff --git a/Master/tlpkg/tlperl/lib/subs.pm b/Master/tlpkg/tlperl/lib/subs.pm
index 10d6e023f46..24814596baa 100644
--- a/Master/tlpkg/tlperl/lib/subs.pm
+++ b/Master/tlpkg/tlperl/lib/subs.pm
@@ -1,10 +1,10 @@
package subs;
-our $VERSION = '1.02';
+our $VERSION = '1.03';
=head1 NAME
-subs - Perl pragma to predeclare sub names
+subs - Perl pragma to predeclare subroutine names
=head1 SYNOPSIS
@@ -13,13 +13,14 @@ subs - Perl pragma to predeclare sub names
=head1 DESCRIPTION
-This will predeclare all the subroutine whose names are
-in the list, allowing you to use them without parentheses
+This will predeclare all the subroutines whose names are
+in the list, allowing you to use them without parentheses (as list operators)
even before they're declared.
Unlike pragmas that affect the C<$^H> hints variable, the C<use vars> and
-C<use subs> declarations are not BLOCK-scoped. They are thus effective
-for the entire package in which they appear. You may not rescind such
+C<use subs> declarations are not lexically scoped to the block they appear
+in: they affect
+the entire package in which they appear. It is not possible to rescind these
declarations with C<no vars> or C<no subs>.
See L<perlmodlib/Pragmatic Modules> and L<strict/strict subs>.