![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
Re^5: stronger than eval?by mreece (Friar) |
on Sep 21, 2006 at 19:46 UTC ( #574254=note: print w/replies, xml ) | Need Help?? |
if the method is called use or require, then yes, i am ok with that, even when it results in dying if you try $obj->use because you did not define your own use method on that class (which is what would typically happen anyway, except with a different error).
the more exceptional case would be when you expected to handle use or require methods via AUTOLOAD, but i would never expect such so adding these methods to UNIVERSAL is ok with me.
In Section
Seekers of Perl Wisdom
|
|