P is for Practical | |
PerlMonks |
Re: Problem With Win32::Fileopby John M. Dlugosz (Monsignor) |
on Jan 14, 2003 at 20:07 UTC ( [id://226944]=note: print w/replies, xml ) | Need Help?? |
On Windows, the file name of the pm file is case-insensitive, but the module name within it is still case sensitive. So perl.exe finds Win32\FileOp.pm and loads it, but then tries to call Win32::Fileop->import, which does not exist. I recall getting an error on the use line when the module name doesn't match the file name. Maybe it varies with different versions of perl, or something else is going on (like Fileop without the cap 'O' is also used internally so the namespace exists). Anyway, Map is never imported. —John
In Section
Seekers of Perl Wisdom
|
|