The stupid question is the question not asked | |
PerlMonks |
Re: perl script to run as non-rootby McA (Priest) |
on Oct 16, 2014 at 14:02 UTC ( [id://1104058]=note: print w/replies, xml ) | Need Help?? |
Hi, the error is really self explaining. Perl is looking for a file named Sybase.pm in a directory DBD. The directories where Perl is looking for that file are enumerated in the error message. So, as user root you do a perl -E'print map "$_\n", @INC' and you'll see whether there is an additional path Perl will look for that file. Most probably the environment of root has some additional paths or is using a different Perl environment. Regards
In Section
Seekers of Perl Wisdom
|
|