From: Christian Winter Date: Sun, 1 Apr 2007 18:01:24 +0000 (+0200) Subject: perlfunc.pod: Lexical visibility hint in require docu X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=73c71df6a9051c0d8926b8aae2d513c596501d60;p=p5sagit%2Fp5-mst-13.2.git perlfunc.pod: Lexical visibility hint in require docu Message-ID: <460FD754.8050106@linux-config.de> p4raw-id: //depot/perl@30828 --- diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 1395631..eb6bd57 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -4467,8 +4467,9 @@ version should be used instead. Otherwise, C demands that a library file be included if it hasn't already been included. The file is included via the do-FILE -mechanism, which is essentially just a variety of C. Has -semantics similar to the following subroutine: +mechanism, which is essentially just a variety of C with the +caveat that lexical variables in the invoking script will be invisible +to the included code. Has semantics similar to the following subroutine: sub require { my ($filename) = @_;