What are the rights of the parentdir /home/charrison/bin (owner, group, modes) and whats the group-id of the process?
if for instance the execute-mode is missing for a directory, then you can't access the included files.
butlanx@nc10-ubuntu:/tmp$ echo 1 > dir/tst.pm lanx@nc10-ubuntu:/tmp$ chmod u-x dir lanx@nc10-ubuntu:/tmp$ ll -d dir drw-r-xr-x 2 lanx lanx 4096 2013-05-22 00:28 dir lanx@nc10-ubuntu:/tmp$ perl -Idir -Mtst -e'1' Can't locate tst.pm in @INC (@INC contains: dir /etc/perl /usr/local/l +ib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share +/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_pe +rl .). BEGIN failed--compilation aborted.
lanx@nc10-ubuntu:/tmp$ chmod u+x dir lanx@nc10-ubuntu:/tmp$ perl -Idir -Mtst -e'1'
Cheers Rolf
( addicted to the Perl Programming Language)
In reply to Re: perl unable to locate my module
by LanX
in thread perl unable to locate my module
by ibm1620
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |