On Thu, 30 Apr 2009, Matt S Trout wrote:

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 :)

My new restarter code avoids this issue entirely. It doesn't actually re-execute the initial script (which runs forever), it just restarts the web server piece (and reloads the app itself).


-dave

/*============================================================
http://VegGuide.org               http://blog.urth.org
Your guide to all that's veg      House Absolute(ly Pointless)
============================================================*/

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to