Can't find XML / Simple.pm in @INC after installation
When I run my perl script I keep getting this error:
Can't locate XML/Simple.pm in @INC after install
I have installed a bunch of modules including Bundle::CPANxxl
from CPAN.
The first time I started / installed CPAN, I ran it as root:
$ sudo cpan
Then again:
$ sudo cpan cpan> install Bundle::CPANxxl cpan> install Xml::Simple
When I run my Perl script I still get the error Can't locate XML/Simple.pm in @INC...
in Apache "error.log"
I am running the following with and without root:
cpan> install XML::Simple
cpan> upgrade
cpan> realod cpa
Why am I getting this error all the time even though I have installed the module multiple times? Can I get some advice on this issue?
+3
source to share