X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2Fsubs.pm;h=e5a9aa8827d84fc910f22c75b25ddf416a1cc7cd;hb=04073e4ceb0fb04f5cbbda390bf49a087fb6969c;hp=84c913a346a0e79cf80081c610d7ec776f3c8993;hpb=c07a80fdfe3926b5eb0585b674aa5d1f57b32ade;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/subs.pm b/lib/subs.pm index 84c913a..e5a9aa8 100644 --- a/lib/subs.pm +++ b/lib/subs.pm @@ -1,5 +1,7 @@ package subs; +our $VERSION = '1.00'; + =head1 NAME subs - Perl pragma to predeclare sub names @@ -15,9 +17,15 @@ This will predeclare all the subroutine whose names are in the list, allowing you to use them without parentheses even before they're declared. -See L and L. +Unlike pragmas that affect the C<$^H> hints variable, the C and +C declarations are not BLOCK-scoped. They are thus effective +for the entire file in which they appear. You may not rescind such +declarations with C or C. + +See L and L. =cut + require 5.000; sub import {