On Fri, 21 Mar 2008, James Keenan via RT wrote: > On Mon Jan 09 17:05:30 2006, [EMAIL PROTECTED] wrote: > > Simple profile suggests that pmc2c.pl is spending about 25% of it's > > total execution time loading FindBin. The lib path use of FindBin::Bin > > can be replaced with 'use lib qw( . lib ../lib ../../lib );' while the > > other uses of FindBin::Bin will have be replaced by values that are > > interpolated by genfile().
Just be careful that 'use lib' doesn't look outside of the parrot source tree. If pmc2c.pl is normally invoked from the root directory, then ../lib and ../../lib are looking outside of the parrot source. This is wrong, since there is no guarantee that stuff stored in ../../lib is even remotely suitable for parrot, or indeed for any other use. -- Andy Dougherty [EMAIL PROTECTED]