Don't ask to ask, just ask | |
PerlMonks |
Re: sub routine helpby ikegami (Patriarch) |
on Jul 31, 2009 at 04:31 UTC ( [id://784807]=note: print w/replies, xml ) | Need Help?? |
Prototypes alter parsing rules, alter the context in which arguments are evaluated, and limit what operators appear as arguments. Since those are all compile-time effects, prototypes have no run-time effects. This means that $subref->() doesn't care if the referenced sub has a prototype or not.
In Section
Seekers of Perl Wisdom
|
|