[Catalyst] script/myapp_server -r Can't exec "/usr/bin/perl"
every 3 or 4 restarts
Matt S Trout
dbix-class at trout.me.uk
Thu Apr 23 17:45:18 GMT 2009
On Thu, Apr 23, 2009 at 09:51:59AM +0100, Mike Glen wrote:
> I think it might be due to line 335 in HTTP.pm
> 335 $ENV{PERL5LIB} .= join $Config{path_sep}, @INC;
Hmm. That's to try and make sure -I calls on the original perl invocation
get included. I guess what you need to do is try something like -
my %already;
@already{split(quotemeta($Config{path_sep}), $ENV{PERL5LIB})} = 1;
$ENV{PERL5LIB} .= join $Config{path_sep}, grep !$already{$_} @INC;
or so.
Fancy having a play and seeing if you can come up with a patch for us?
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director http://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http://chainsawblues.vox.com/ http://www.shadowcat.co.uk/servers/
More information about the Catalyst
mailing list