No, isa() returns true if whatever method isa() is for the invocant it returns true. If I wrote an object and overrode isa() to return true based on a the phase of the moon, that's what it would do.
That's probably unwise code to write, but the purpose of having isa() be a method is so that classes can override it when it makes sense to do so.
In reply to Re^3: How to differentiate hash reference and object reference?
by chromatic
in thread How to differentiate hash reference and object reference?
by tphyahoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |