laziness, impatience, and hubris | |
PerlMonks |
Re: A question of styleby maverick (Curate) |
on Aug 23, 2000 at 03:02 UTC ( [id://29129]=note: print w/replies, xml ) | Need Help?? |
I tend to use parens and & on my functions.
I think it makes it easier on whoever has to read my code next.
The parens remove any perceived ambiguity(sp?) about function
params and the & clearly seperates which functions I've written
from any built in ones.
IIRC there was some difference about using the & in Perl 4, something to do with the order in which perl tried to find the code for it, or something. (perhaps merlyn will clear this part up). /\/\averick
In Section
Seekers of Perl Wisdom
|
|