Diddling @INC, order of entries in it

David Cantrell david at cantrell.org.uk
Wed Aug 1 21:12:30 BST 2007


On Wed, Aug 01, 2007 at 07:51:18PM +0100, IvorW wrote:

> An alternative approach, which will take a performance hit, is to use
> $DB::single to force single step execution, and check @INC after every
> line of code, manipulating the coderef to the front of the array if @INC
> has changed.

Ah, I like it.

I suppose that because of the performance hit I should make that into
another option.

-- 
David Cantrell | Official London Perl Mongers Bad Influence

    fdisk format reinstall, doo-dah, doo-dah;
    fdisk format reinstall, it's the Windows way


More information about the london.pm mailing list