Thanks for your replies,
The only difference I find is when I run this command as "root' I get the below output
perl -e 'print join("\n",@INC)'
/usr/local/lib64/perl5
/usr/local/share/perl5
/usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl
/usr/lib64/perl5
/usr/share/perl5
While I run as non-root I get the below output:
perl -e 'print join("\n",@INC)'
/opt/nms/perl/lib
/opt/nms/perl/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
/opt/nms/perl/lib/perl5/site_perl/5.8.8
/opt/nms/perl/lib/perl5/site_perl
/usr/local/lib64/perl5
/usr/local/share/perl5
/usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl
/usr/lib64/perl5
/usr/share/perl5
Actually there is no perl folder inside the /opt/nms/ but not sure how it is showing that.
Will that be an issue?
But apart from that I checked the permission of Sybase.pm and the path where the Sybase.pm is all seems to be fine.
Thanks,