http://qs321.pair.com?node_id=711051


in reply to Re: Module is in %INC, but names are not recognized
in thread Module is in %INC, but names are not recognized

To elaborate, an annoying compatibility issue between Perl and Windows is that Windows filenames are case-insensitive, while module names are not. So while it can find CWD.pm and load it, it can't import the module CWD because it's named Cwd.

It does seem like Perl should at least emit a warning for this. You're certainly not the first person to be tripped up by it.