in reply to Re^2: Installing local Perl module
in thread Installing local Perl module
My problem is the same. I have put use lib in BEGIN block. I have checked that my locally installed modules are in the @INC, and everything is fine when I run the script from terminal - but not found when I access the script via browser. Permissions are rwx-rx-x, http server (lighty) runs as root.
Only globally installed modules and those under ./ are loaded. Strange enough I received no error from CGI::Debug, only use warning pragma dropped the usual not in @INC message.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Installing local Perl module
by Anonymous Monk on Apr 24, 2011 at 15:37 UTC | |
by Anonymous Monk on Apr 24, 2011 at 19:10 UTC |