There's more than one way to do things | |
PerlMonks |
Re: $functions xor $methodsby japhy (Canon) |
on Oct 30, 2002 at 00:40 UTC ( [id://208934]=note: print w/replies, xml ) | Need Help?? |
I made this mistake with some OO modules of mine, even those I released to CPAN, I think. The "problem" (that we have to live with) is that method calls are slower than function calls (since Perl needs to look through the inheritance tree to find what method gets called). It's just something you have to do.
_____________________________________________________
In Section
Meditations
|
|