I can't seem to figure out why i keep getting this error. the Spreadsheet::PhaseExcel is installed on 3 servers and is working on only 2... the last one it is installed exactly the same way but I keep getting this error.
This is whats odd.
If i run this script as a normal user i get this error:
Can't locate Spreadsheet/ParseExcel.pm in @INC (@INC contains: /usr/opt/perl5/lib/5.8.8/aix-thread-multi /usr/opt/perl5/lib/5.8.8 /usr/opt/perl5/lib/site_perl/5.8.8/aix-thread-multi /usr/opt/perl5/lib/site_perl/5.8.8 /usr/opt/perl5/lib/site_perl .) at process_file.pl line 4.
But if i run it as root the script works. not sure whats going on here any advice?
---------- Post updated 08-29-12 at 03:29 PM ---------- Previous update was 08-28-12 at 06:23 PM ----------
I figured it out!
problem is permissions for Spreadsheet/ParseExcel.pm were set to rwx-- modified them to work for what i needed and poof! I had the modify the additional modules needed for this script as well but basically the same thing.