summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-04-19 23:50:34 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-04-19 23:50:34 +0000
commitdc1be6b5f3ddbc67a59c272a982146f55b348312 (patch)
tree30bd948e112ec685d67e77bd466fc843969200f7 /pod
parente17cb2a9c513ce1acd034452f9a933fcfa6c0129 (diff)
downloadperl-dc1be6b5f3ddbc67a59c272a982146f55b348312.tar.gz
[win32] tweak doc for C<do FILENAME>
p4raw-id: //depot/win32/perl@891
Diffstat (limited to 'pod')
-rw-r--r--pod/perlfunc.pod4
1 files changed, 3 insertions, 1 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index f509f61553..17ede1afea 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -863,7 +863,9 @@ is just like
except that it's more efficient, more concise, keeps track of the
current filename for error messages, and searches all the B<-I>
libraries if the file isn't in the current directory (see also the @INC
-array in L<perlvar/Predefined Names>). It's the same, however, in that it does
+array in L<perlvar/Predefined Names>). It is also different in how
+code evaluated with C<do FILENAME> doesn't see lexicals in the enclosing
+scope like C<eval STRING> does. It's the same, however, in that it does
reparse the file every time you call it, so you probably don't want to
do this inside a loop.