Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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

by rhesa (Vicar)
on Sep 12, 2008 at 23:57 UTC ( #711040=note: print w/replies, xml ) Need Help??


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

Hint:
use Cwd;

Replies are listed 'Best First'.
Re^2: Module is in %INC, but names are not recognized
by sgifford (Prior) on Sep 13, 2008 at 03:22 UTC
    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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://711040]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2020-09-24 12:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (133 votes). Check out past polls.

    Notices?