Re: use lib error

2016-12-09 Thread mehryar
Thanks Adam, I think you were right. There was a small difference in the simplified example I wrote below to the actual script I was running. The actual script actually had the path: use lib '../../lib'; # which was correct relative to the script. But when I switched this to: use lib '../lib';

Re: use lib error

2016-12-08 Thread Adam Prime
I don't think Modperl::Registry sets the current working directory of of the process when it runs your script, so that might be why it's having problems. You can try RegistryPrefork instead, if you're running under the prefork MPM. If not, then your script will need to be updated to assumed that

Re: use lib

2007-06-12 Thread Frank Wiles
On Tue, 12 Jun 2007 16:29:33 -0400 "Perrin Harkins" <[EMAIL PROTECTED]> wrote: > On 6/12/07, Frank Wiles <[EMAIL PROTECTED]> wrote: > >This might not be related, but Catalyst doesn't support running > > two "instances" of the same application at the same time. Unless > > you're using the late

Re: use lib

2007-06-12 Thread Perrin Harkins
On 6/12/07, Frank Wiles <[EMAIL PROTECTED]> wrote: This might not be related, but Catalyst doesn't support running two "instances" of the same application at the same time. Unless you're using the latest source repository checkout, it'll be rolled into the next release I hear. Runn

Re: use lib

2007-06-12 Thread Frank Wiles
On Mon, 11 Jun 2007 19:18:26 -0400 "Perrin Harkins" <[EMAIL PROTECTED]> wrote: > On 6/9/07, Octavian Rasnita <[EMAIL PROTECTED]> wrote: > > PerlSwitches -Ie:/web/ANR/lib > > PerlModule ANR > > ... > > > > But the server writes in the log that the module ANR cannot be > > loaded. > > Try dumping o

Re: use lib

2007-06-11 Thread Perrin Harkins
On 6/9/07, Octavian Rasnita <[EMAIL PROTECTED]> wrote: PerlSwitches -Ie:/web/ANR/lib PerlModule ANR ... But the server writes in the log that the module ANR cannot be loaded. Try dumping out @INC to see what your PerlSwitches command is putting in there. I am interested in this, because I tr