in reply to A question of style
Well when a question of what advice to give on
maintainability came up on perl5-porters, the most common
response was, "Tell them to use parentheses." In fact
perlstyle also tells you not to omit unnecessary
parentheses. :-)
Personally I tend to not want to worry about predeclaring functions with strict, so I use & and parens. YMMV.
My other differences from perlstyle are that I tend to use a 2-space indent to match co-workers rather than the 4-space indent in perlstyle, and I am in the habit of using redundant punctuation.
|
---|
In Section
Seekers of Perl Wisdom