On Tue, Sep 9, 2008 at 6:10 PM, Michael G Schwern <[EMAIL PROTECTED]> wrote:
> Taking a knife to CORE::caller() and then calling someone else's functions and
> expecting them to work is not a good idea.

The problem is that we want Sub::Uplevel to do what people expect if
they have already taken a knife to CORE::caller for some stupid
reason, since nothing in Perl stops them from doing so.

> After some poking around, the test fails because "use vars" depends on
> caller() and caller() is bleeding on the floor.  It used to work because
> Test::More happened to load vars.pm before caller() got the knife.  Now it
> doesn't, it uses our().

Looks like this is fixable in Sub::Uplevel just by avoiding vars.
Since Schwern has declared 5.005 dead and the toolchain is moving on,
I'll convert to "our" as well and make 5.006 a requirement.

New release coming soon.

-- David

Reply via email to