Re: Bug#365142: ITP: libuniversal-isa-perl -- Safer version of UNIVERSAL::isa
Bas Zoetekouw wrote:
> Hi Krzysztof!
>
> You wrote:
>
>> Description : Safer version of UNIVERSAL::isa
>>
>> This module replaces UNIVERSAL::isa with a version that makes sure that,
>> when called as a function on objects which override isa, isa will call
>> the appropriate method on those objects
>> .
>> In all other cases, the real UNIVERSAL::isa gets called directly.
>
> Maybe you could explain in the description what UNIVERSION::isa does?
UNIVERSAL it's base class for all classes in perl, UNIVERSAL::isa is
function/method which tell you if object is blessed in package or
inherits from package. It's basic, fundamental concept when you
programing in Object Oriented Perl. I don't think that I could explain
what isa really does in short description without explaining classes and
objects in Perl.
eloy
--
-------e-l-o-y---------------------------e-l-o-y-@-k-o-f-e-i-n-a-.-n-e-t------
jak to dobrze, że są oceany - bez nich byłoby jeszcze smutniej
Reply to: