|
|
| Think about Loose Coupling | |
| PerlMonks |
Re: Ampersands and sub speedby wazoox (Prior) |
| on Oct 14, 2005 at 17:13 UTC ( [id://500370]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
I suppose this is because the ampersand identifies the token as a function name, and so Perl doesn't have to spend any time disambiguating it
No, I don't think it to be the reason. AFAIK the difference lies in the fact that object methods can be overloaded, or inherited, and this is managed at run time, while direct function call is managed thru the symbol table built directly at compile time.
In Section
Meditations
|
|
||||||||||||||||||||||||||||||