Diddling @INC, order of entries in it

David Cantrell david at cantrell.org.uk
Wed Aug 1 21:11:27 BST 2007

On Wed, Aug 01, 2007 at 12:10:37PM -0700, Ovid wrote:

> In other words, if 'prototype "CORE::do"' returns undef, you cannot
> override do.
>   ~ $ perl -MData::Dumper -le 'print Dumper prototype "CORE::do"'
>   $VAR1 = undef;
> However, aliasing it to an overridden CORE::GLOBAL::Require seems to
> work:
> What have I misunderstood?  Is this a bug?

Given that 'prototype' says that 'require' isn't over-rideable, then it
sure looks like one, and so I'm not going to do it because now that it's
been found some bugger will go and fix it.

David Cantrell | London Perl Mongers Deputy Chief Heretic

I hate baby seals.  They get asked to all the best clubs.

More information about the london.pm mailing list