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

Re: Blessed objects are `isa` their reftype

Thread Previous | Thread Next
Paul "LeoNerd" Evans
February 17, 2021 10:16
Re: Blessed objects are `isa` their reftype
Message ID:
On Tue, 16 Feb 2021 17:07:39 -0800
David Christensen <> wrote:

> I agree that binary 'isa' in the case numbered 3 above does not
> appear to match this documentation:
> because $aobj is not an object instance of the class 'ARRAY' or a 
> subclass derived from class 'ARRAY'.
> However, binary 'isa' does appear to be consistent with
> UNIVERSAL::isa() invoked as a function,

Indeed, as I wrote in the documentation added at

  This is done in order to preserve the equivalence to the
  C<UNIVERSAL::isa> method

Paul "LeoNerd" Evans      |  |

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About