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.