From: Perl 5 Porters Date: Wed, 10 Jul 1996 23:22:48 +0000 (+0000) Subject: Add explanation of common usage X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c6f23971087b60e76ee381271f91c188d85e1db7;p=p5sagit%2Fp5-mst-13.2.git Add explanation of common usage --- diff --git a/lib/vars.pm b/lib/vars.pm index b951929..0dd5758 100644 --- a/lib/vars.pm +++ b/lib/vars.pm @@ -14,6 +14,13 @@ 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. +Packages such as the B and B that delay loading +of subroutines within packages can create problems with package lexicals +defined using C. While the B pragma cannot duplicate the +effect of package lexicals (total transparency outside of the package), +it can act as an acceptable substitute by pre-declaring global symbols, +ensuring their availability to to the later-loaded routines. + See L. =cut