Skip Menu |

This queue is for tickets about the Catalyst-Engine-HTTP-Prefork CPAN distribution.

Report information
The Basics
Id: 52954
Status: new
Priority: 0/
Queue: Catalyst-Engine-HTTP-Prefork

People
Owner: Nobody in particular
Requestors: perl [...] david-raab.de
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.51
Fixed in: (no value)



Subject: HTTP::Prefork failed to start
I used the newest Catalyst and Catalyst::Devel version. If you create a new application with it, and try to start the development server with HTTP::Prefork as Engine, you get the following error back. Show quoted text
> Can't use an undefined value as an ARRAY reference at
/home/sidburn/perl510/lib/site_perl/5.10.1/Catalyst/Engine/HTTP/Prefork. pm line 35. In this line you do: Show quoted text
> @ARGV = @{ $options->{argv} };
But if i dump $options then i got something like this: Show quoted text
> $VAR1 = { > 'pidfile' => undef, > 'fork' => '0', > 'follow_symlinks' => '0', > 'background' => '0', > 'keepalive' => '0' > };
There "argv" does not exists and the code stops here. To fix this error: Show quoted text
> @ARGV = @{ $options->{argv} || [] };