[Catalyst] Catalyst::Engine::HTTP::Prefork failing to start my script

Andreas J. Koenig andreas.koenig.7os6VVqR at franz.ak.mind.de
Thu Dec 16 07:14:54 GMT 2010


I have a catalyst script that is running fine when I call it as

/usr/local/perl-5.10.1/bin/perl -I ~/sources/andk-cpan-tools/CPAN-Blame/lib ~/sources/andk-cpan-tools/CPAN-Blame/script/cpan_blame_server.pl

But when I set the envariable and call it the same way

CATALYST_ENGINE='HTTP::Prefork' /usr/local/perl-5.10.1/bin/perl -I ~/sources/andk-cpan-tools/CPAN-Blame/lib ~/sources/andk-cpan-tools/CPAN-Blame/script/cpan_blame_server.pl

then it dies with

Can't use an undefined value as an ARRAY reference at /usr/local/perl-5.10.1/lib/site_perl/5.10.1/Catalyst/Engine/HTTP/Prefork.pm line 35.

I found the instruction how to start with a prefork engine in the wiki
page http://wiki.catalystframework.org/wiki/deployment.

What am I doing wrong and how to go about debugging it?

Thanks,
-- 
andreas



More information about the Catalyst mailing list