summaryrefslogtreecommitdiff
path: root/pod/perlfunc.pod
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-03-03 15:43:43 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-03-03 15:43:43 +0000
commitea63ef19ca3f585d76378df52ef140c169642026 (patch)
treebf7224f6af331dd7a72686042561459038351924 /pod/perlfunc.pod
parentb929a54bc3b1e6622917dee605ce635e4c48caf4 (diff)
downloadperl-ea63ef19ca3f585d76378df52ef140c169642026.tar.gz
do "filename" is not really used with perl subroutine librairies
anymore. p4raw-id: //depot/perl@24000
Diffstat (limited to 'pod/perlfunc.pod')
-rw-r--r--pod/perlfunc.pod5
1 files changed, 2 insertions, 3 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 9458d1cccf..dc23b210fa 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -1206,8 +1206,7 @@ A deprecated form of subroutine call. See L<perlsub>.
=item do EXPR
Uses the value of EXPR as a filename and executes the contents of the
-file as a Perl script. Its primary use is to include subroutines
-from a Perl subroutine library.
+file as a Perl script.
do 'stat.pl';
@@ -1216,7 +1215,7 @@ is just like
eval `cat stat.pl`;
except that it's more efficient and concise, keeps track of the current
-filename for error messages, searches the @INC libraries, and updates
+filename for error messages, searches the @INC directories, and updates
C<%INC> if the file is found. See L<perlvar/Predefined Names> for these
variables. It also differs in that code evaluated with C<do FILENAME>
cannot see lexicals in the enclosing scope; C<eval STRING> does. It's the