in reply to Re: if (UNIVERSAL::isa($r, ref $l))
in thread if (UNIVERSAL::isa($r, ref $l))

Hopefully he will be by soon and let us know.

It's a bug in my code :)

--
<http://www.dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

  • Comment on Re: Re: if (UNIVERSAL::isa($r, ref $l))

Replies are listed 'Best First'.
Re: Re: Re: if (UNIVERSAL::isa($r, ref $l))
by demerphq (Chancellor) on Jul 24, 2003 at 07:31 UTC

    At the bare minimum I would say you could make a nice follow up article or whatnot out of this. :-)

    Nice article BTW, a very good explanation of some of the darker corners of overload.


    ---
    demerphq

    <Elian> And I do take a kind of perverse pleasure in having an OO assembly language...
Re: Re: Re: if (UNIVERSAL::isa($r, ref $l))
by demerphq (Chancellor) on Jul 24, 2003 at 07:38 UTC

    I reckon the moral of this story for us all is that to properly test the inheritance of an overloaded module is that you need to to do a double empty subclass test and test them all against each other. (A methodology that could actually be easily automated if somebody wants to write a Test::Overload module.)


    ---
    demerphq

    <Elian> And I do take a kind of perverse pleasure in having an OO assembly language...