![]() |
|
Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Perl Subroutines Callby herveus (Prior) |
on Jan 05, 2010 at 12:38 UTC ( #815752=note: print w/replies, xml ) | Need Help?? |
Howdy!
Don't use the & form unless you require it's special effects. If you don't know what those are, you don't need them. I'm not trying to be snarky or a wiseass. I normally use parentheses around the arguments, in part just to make it clear what is being passed to the subroutine. At times, I omit them, but I can't really articulate the conditions that apply. I suppose aesthetics bear on the decision, but I tend to "err" on the side of ().
yours, Michael
In Section
Seekers of Perl Wisdom
|
|