summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-05-25 03:00:00 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-05-25 03:00:00 +0000
commitec889f3a4d67ceb8b9b54693ed4a5449d224fe29 (patch)
tree62031b2d0dd999ebb840aa22df642c9b1f2c90b1 /pod
parent73689b13b10ea0db5604b4177ed9d72f782990d1 (diff)
downloadperl-ec889f3a4d67ceb8b9b54693ed4a5449d224fe29.tar.gz
avoid enumerating @INC contents in diagnostic if @INC was never
searched p4raw-id: //depot/perl@3466
Diffstat (limited to 'pod')
-rw-r--r--pod/perldiag.pod16
1 files changed, 9 insertions, 7 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index 72b419294e..688e847085 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -756,13 +756,15 @@ but there is no function to autoload. Most probable causes are a misprint
in a function/method name or a failure to C<AutoSplit> the file, say, by
doing C<make install>.
-=item Can't locate %s in @INC
-
-(F) You said to do (or require, or use) a file that couldn't be found
-in any of the libraries mentioned in @INC. Perhaps you need to set the
-PERL5LIB or PERL5OPT environment variable to say where the extra library
-is, or maybe the script needs to add the library name to @INC. Or maybe
-you just misspelled the name of the file. See L<perlfunc/require>.
+=item Can't locate %s
+
+(F) You said to C<do> (or C<require>, or C<use>) a file that couldn't be
+found. Perl looks for the file in all the locations mentioned in @INC,
+unless the file name included the full path to the file. Perhaps you need
+to set the PERL5LIB or PERL5OPT environment variable to say where the extra
+library is, or maybe the script needs to add the library name to @INC. Or
+maybe you just misspelled the name of the file. See L<perlfunc/require>
+and L<lib>.
=item Can't locate object method "%s" via package "%s"