There's more than one way to do things | |
PerlMonks |
•Re^5: Is "ref($class) || $class" a bad thing?by merlyn (Sage) |
on Jul 20, 2004 at 13:32 UTC ( [id://375908]=note: print w/replies, xml ) | Need Help?? |
I'd consider that "a bit too much navel inspection". It breaks code I write that looks like this:
There shouldn't be any way that this target method should be able to tell that I got there with ->can instead of a true method lookup. So if you write code that breaks that, shame on you. -- Randal L. Schwartz, Perl hacker
In Section
Meditations
|
|