*isa= \&UNIVERSAL::isa;
works great for me. I don't even have to "use UNIVERSAL" for this. There being no UNIVERSAL->import() makes some sense to me, but, as noted in Universally unimportant and overused, UNIVERSAL->import() appears to exist (and causes problems).
Defining a special UNIVERSAL::isa() that can detect when it has been misused would be an acceptable compromise to me.
- tye
In reply to Re^6: I don't understand UNIVERSAL::DOES() (import)
by tye
in thread I don't understand UNIVERSAL::DOES()
by rlb3
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |