[Catalyst] script/myapp_server -r Can't exec "/usr/bin/perl" every 3 or 4 restarts

Erik Wasser erik.wasser at iquer.net
Thu Apr 23 06:47:39 GMT 2009


On Wednesday 22 April 2009, Mike Glen wrote:

> I'm running the catalyst server (script/myapp_server) using the -r
> option to restart after changes are made but after every 3 or 4
> restarts i get the error message
>
> Can't exec "/usr/bin/perl": Argument list too long at
> /usr/lib/perl5/site_perl/5.8.5/Catalyst/Engine/HTTP.pm line 337.

<hack mode="crude">
1) Got privileges to edit the file HTTP.pm, make a copy
2) open the file in an editor and add this 2 lines before the exec 
statement in line 337:

use Data::Dumper
warn Dumper([$^X, $0, @{ $options->{argv} }]);
</hack>

Look at the output and post it here.

-- 
So long... Fuzz



More information about the Catalyst mailing list