[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 30 22:34:13 GMT 2009


On Thu, Apr 30, 2009 at 02:44:05PM +0200, Erik Wasser wrote:
> 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.

I think I agree. Fancy having a go at a patch? I -still- don't use -r so
I -still- can't really shake such a patch out in real world usage :)

-- 
        Matt S Trout         Catalyst and DBIx::Class consultancy with a clue
     Technical Director      and a commit bit: http://shadowcat.co.uk/catalyst/
 Shadowcat Systems Limited
  mst (@) shadowcat.co.uk        http://shadowcat.co.uk/blog/matt-s-trout/



More information about the Catalyst mailing list