Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: can't load any modules

by BronzeWing (Monk)
on Dec 13, 2002 at 20:05 UTC ( [id://219736]=note: print w/replies, xml ) Need Help??


in reply to can't load any modules

Is your perl install directory actually "c:\Oracle\Apache\Perl\5.00503"? If you had previously installed perl somewhere like "c:\Perl" and then things recently stopped working, it looks like the @INC directory got messed up. I'm pretty sure that value is compiled in, so that would mean you weren't running the perl script with the perl.exe you thought you were.

As a more broad response: It's important to realize that while "use strict", "use warnings", etc look like they're just parts of the language, they're actually modules that come packaged with perl. So the error means that nothing in @INC contains the default perl modules, which reinforces my guess that a second perl binary got installed somehow and took precedence over your original.

Tell me if any of this sounds familliar.

-BronzeWing


Perl Monks do it more than one way.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2024-04-24 23:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found