Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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

by rhesa (Vicar)
on Sep 12, 2008 at 23:57 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://711040]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-04-18 19:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found