in reply to Re^3: Warning for "unused sub declarations"?
in thread Warning for "unused sub declarations"?
It seems to me that people are over-reacting here. I don't generally like to call subs with the ampersand because IMO the code is more readable without it, but honestly, if the other poster wants to write code that calls subroutines using ampersands and parens, I don't see how that will really harm him. Yeah, it suppresses prototypes, but so what? Nobody who needs to be pointed at perlsub is using prototypes anyway.
The only really weird wrinkle with the ampersand sigil is what happens if you also leave off the parens, but the other poster specifically said ampersand and parens, so he's not likely to run into that.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Warning for "unused sub declarations"?
by fishbot_v2 (Chaplain) on May 20, 2005 at 20:12 UTC | |
by jonadab (Parson) on May 20, 2005 at 20:44 UTC |