in reply to Re: Re: Re: semantics differences, &ref and &UNIVERSAL::isa()
in thread semantics differences, &ref and &UNIVERSAL::isa()
Reread docs :) . For blessed variables ref returns package into which variable is blessed.
Normally one uses ref with objects to check if they belong to some specific class and UNIVERSAL::isa with objects to check if they belong to some class or its subclass.
--
Ilya Martynov
(http://martynov.org/)
|
|---|