Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: can't load any modules

by BronzeWing (Monk)
on Dec 13, 2002 at 20:05 UTC ( #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.


Perl Monks do it more than one way.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2023-02-07 20:48 GMT
Find Nodes?
    Voting Booth?
    I prefer not to run the latest version of Perl because:

    Results (40 votes). Check out past polls.