perlfunc.pod: Lexical visibility hint in require docu
Christian Winter [Sun, 1 Apr 2007 18:01:24 +0000 (20:01 +0200)]
Message-ID: <460FD754.8050106@linux-config.de>

p4raw-id: //depot/perl@30828

pod/perlfunc.pod

index 1395631..eb6bd57 100644 (file)
@@ -4467,8 +4467,9 @@ version should be used instead.
 
 Otherwise, C<require> 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<eval>.  Has
-semantics similar to the following subroutine:
+mechanism, which is essentially just a variety of C<eval> 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) = @_;