in reply to Re: perl module not getting listed for non root user
in thread perl module not getting listed for non root user

Hi, Thnx for the reply I can see that the contents of @INC are same for non-root and root user.
$ perl -e 'print join "\n", @INC'
/usr/opt/perl5/lib/5.8.2/aix-thread-multi
/usr/opt/perl5/lib/5.8.2
/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi
/usr/opt/perl5/lib/site_perl/5.8.2
/usr/opt/perl5/lib/site_perl
.$ su -
root's Password:
sdp2:/> perl -e 'print join "\n", @INC'
/usr/local/jboss/lib/perl
/usr/opt/perl5/lib/5.8.2/aix-thread-multi
/usr/opt/perl5/lib/5.8.2
/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi
/usr/opt/perl5/lib/site_perl/5.8.2
/usr/opt/perl5/lib/site_perl
Is it possible that non-root user is not ale to search under /usr/?
  • Comment on Re^2: perl module not getting listed for non root user

Replies are listed 'Best First'.
Re^3: perl module not getting listed for non root user
by Anonymous Monk on Aug 12, 2008 at 06:15 UTC
    You are blind :)
    perl -le' print for @INC' >nonroot-inc perl -le' print for @INC' >root-inc diff -ub nonroot-inc root-inc