use lib error

2016-12-08 Thread mehryar
uot;; print "hello\n"; - This script runs correctly under mod_cgi (without mod_perl), implying that perl is able to locate MyApp.pm through use lib '../lib'; Now under mod_perl with PerlSwitches -I/Users/mehryar/Sites/lib the script runs correctly as well - but only if I comment o

Re: use lib error

2016-12-09 Thread mehryar
solution and just removed the use libs in my scripts since the PerlSwitch -I/{full path to lib} allows the modules to be found. cheers, Mehryar On Thu, 8 Dec 2016, Adam Prime wrote: I don't think Modperl::Registry sets the current working directory of of the process when it runs your scr