On Fri, Mar 19, 2010 at 06:32:36PM +0000, Ævar Arnfjörð Bjarmason wrote:
> On Fri, Mar 19, 2010 at 18:28, Jesse Luehrs <[email protected]> wrote:
> > Um... did you actually try to run this code? Because it already does
> > exactly what you are trying to do.
>
> Actually it doesn't.
>
> I'm guessing that the problem here is that he's calling A->extends()
> in the B package instead of extends("A");
Which causes perl to die with a recursive inheritance error (since
A->extends() is equivalent to A::extends('A')), so I'm assuming that his
actual code isn't doing that.
-doy