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 l
igured for
> Modperl::Registry:
>
>
> #!/usr/local/bin/perl
> use strict;
> use warnings
>
> use lib '../lib';
> use MyApp;
>
> print "Content-type: text/html\n\n";
> print "hello\n";
> -
>
> This script run
Hi folks,
A noobie question here:
I have a plain simple cgi script in a directory configured for
Modperl::Registry:
#!/usr/local/bin/perl
use strict;
use warnings
use lib '../lib';
use MyApp;
print "Content-type: text/html\n\n&q
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
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
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
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
"e:/web/ANR/script/preload.pl"
The file preload.pl contains:
#!d:/usr/bin/perl
use lib 'e:/web/ANR/lib';
use ANR;
1;
What is wrong when using the first method?
I am interested in this, because I try to see why 2 Catalyst applications
cannot run both in the same time, but th