in reply to Re: Re: use Module and case-insensitive file names
in thread use Module and case-insensitive file names
The reason thatif ( running_under_windows and Foo.pm loaded and package_Foo doesn't exist ) { warn about case of Foo }
is valid is because use is merely:use Strict; $x = 10;
And on Windows, require Strict goes through fine, thanks to the caseless OS. And import silently fails (as is documented).BEGIN { require Strict; Strict->import; }
The DaTA::Dumper thing didn't give an error because you didn't turn on warnings. If warnings were on, you'd have seen:
Name "main::Dumper" used only once: possible typo at -e line 1. Filehandle main::Dumper never opened at -e line 1.
_____________________________________________________
Jeff japhy Pinyan:
Perl,
regex,
and perl
hacker.
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: use Module and case-insensitive file names
by John M. Dlugosz (Monsignor) on Jul 31, 2001 at 01:03 UTC | |
by japhy (Canon) on Jul 31, 2001 at 01:34 UTC | |
by John M. Dlugosz (Monsignor) on Jul 31, 2001 at 01:59 UTC | |
by japhy (Canon) on Jul 31, 2001 at 02:06 UTC | |
by John M. Dlugosz (Monsignor) on Jul 31, 2001 at 02:16 UTC | |
by John M. Dlugosz (Monsignor) on Jul 31, 2001 at 02:13 UTC | |
by japhy (Canon) on Jul 31, 2001 at 02:22 UTC |