Hi Monks.. I am a beginner in perl. I am trying to install perl modules from CPAN by downloading tar files (coz CPAN command methos causing me permission denied probles on my ubuntu machine even with the sudo command.) now I am successfully able to install the modules using tar files but issue is that they are installed not on the correct path, means it is not being considered by @INC array. so what I have to do, is to add those paths using BEGIN & unshift for each and every module.. something like below
BEGIN { unshift (@INC, "/home/eankuls/.cpan/build/Net-SSH-Perl-1.37-KSvjy6/bli +b/lib"); unshift (@INC, "/home/eankuls/.cpan/build/Math-Pari-2.01080607-oiJwzq/ +blib/lib"); unshift (@INC, "/home/eankuls/.cpan/build/Math-Pari-2.01080607-oiJwzq/ +blib/lib"); unshift (@INC, "/home/eankuls/.cpan/build/Crypt-DH-0.07-B70AtC/blib/li +b"); unshift (@INC, "/home/eankuls/.cpan/build/Digest-SHA1-2.13-lHIaOb/blib +/lib"); }
so is there any way so that they can install at the correct path? please let me know if you need more info. as I am new in perl and might be missing some necessary info. thanx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |