[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 30 12:44:05 GMT 2009


On Tuesday 28 April 2009, Matt S Trout wrote:

> Two possibilities:
>
> (1) exec a $^X to print @INC to get the "normal" @INC
>
> (2) use $Config{arch} and /^5.\/ to strip off the extra ones.
>
> Thoughts?

I think (1) is more bulletproof. I think a restart costs a lot of time 
and an additional call of $^X doesn't matter here.

-- 
So long... Fuzz



More information about the Catalyst mailing list