> Unless Windows, most of the rest of the world of automation is case-sensitive
maybe it's relevant here to remark that use on WIN will show a split personality.
the require will be case insensitive but the import will fail, because the latter expects a case sensitive package name
this will lead to somehow schizophrenic error conditions.
C:\tmp\pm>perl -MData::Dumper -we"print Dumper [1..3]" # Correct C
+asing, NO Problems
$VAR1 = [
1,
2,
3
];
C:\tmp\pm>perl -MdAtA::DuMpER -we1 # NO Error
+Msg on Win
C:\tmp\pm>perl -MdAtA::DuMpER -we"print Dumper [1..3]" # BUT won't
+ work!
Name "main::Dumper" used only once: possible typo at -e line 1.
print() on unopened filehandle Dumper at -e line 1.
C:\tmp\pm>perl -MdAtA::DuMpER::FAKE -we1 # What we r
+eally expected ...
Can't locate dAtA/DuMpER/FAKE.pm in @INC (you may need to install the
+dAtA::DuMpER::FAKE module) ...
C:\tmp\pm>
-
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>
<u> <ul>
-
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
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|