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/ _______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/