|> This is the most likely explanation, considering that perldiag has no entry for such an error message.
hmm did you notice that Can't locate Module.pm in @INC is not in perldiag?
The corresponding error is only called Can't locate %s
Which means searching for '@INC' wouldn't help...
Though you're right about the full message:
perl -Mdiagnostics -Mdummy
Can't locate dummy.pm in @INC (@INC contains: /etc/perl /usr/local/lib
+/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/p
+erl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl
BEGIN failed--compilation aborted (#1)
(F) You said to do (or require, or use) a file that couldn't be
found. Perl looks for the file in all the locations mentioned in @
unless the file name included the full path to the file. Perhaps
need to set the PERL5LIB or PERL5OPT environment variable to say w
the extra library is, or maybe the script needs to add the library
to @INC. Or maybe you just misspelled the name of the file. See
perlfunc/require and lib.
( addicted to the Perl Programming Language)
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link or
or How to display code and escape characters
are good places to start.