diff options
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perlfunc.pod | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 1395631c15..eb6bd57794 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -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) = @_; |