develooper Front page | perl.perl5.porters | Postings from February 2021

Re: Blessed objects are `isa` their reftype

Thread Previous | Thread Next
From:
David Christensen
Date:
February 17, 2021 21:49
Subject:
Re: Blessed objects are `isa` their reftype
Message ID:
c7f5dc95-e3a2-621a-9aa0-df8d4a0cfe89@holgerdanske.com
On 2021-02-17 02:16, Paul "LeoNerd" Evans wrote:
> On Tue, 16 Feb 2021 17:07:39 -0800 David Christensen wrote:

>> ... binary 'isa' does appear to be consistent with
>> UNIVERSAL::isa() invoked as a function,
> 
> Indeed, as I wrote in the documentation added at
> https://github.com/Perl/perl5/tree/leonerd/doc-isa:
> 
>    This is done in order to preserve the equivalence to the
>    C<UNIVERSAL::isa> method


Okay.


What about this?

On 2021-02-16 17:07, David Christensen wrote:
 > (But, UNIVERSAL::isa() invoked as an object method is broken -- case
 > 11 line 41, case 12 line 42, case 15 line 46, and case 16 line 47.)


David


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About