One of my scripts ends with the following error:
Can't locate SOAP/Lite.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at ./some_my_script.pl line 3. BEGIN failed--compilation aborted at ./some_my_script.pl line 3. So that, I've tried the following:
$ cpan -i SOAP::Lite
That brought me into the kinda infinite execution of endless downloads, testings all and over again. After more then 5 minutes on a decent CentOS server, I've pressed Ctlr-C and re-runned the script above, getting the same error message.
Hence, the questions (hopefully I am in the right forum to ask for help):
What am I doing wrong, installing CPAN's modules? Why it is kinda in an infinite installation loop?
Can you see the direct connection between the script error and the installation I've tried? Is it the right way to attack the problem?
If any data is missing - please just ask.