|Just another Perl shrine|
Refactoring prototypes - what am I going to breakby throop (Chaplain)
|on Oct 30, 2007 at 15:55 UTC||Need Help??|
throop has asked for the
wisdom of the Perl Monks concerning the following question:
I'm refactoring legacy Perl code that uses prototypes. The standard wisdom on prototypes is Don't.
All the prototypes in this code are for one or two scalar args; e.g.
In other words, the only char inside the prototype parens is a '$'.
In that case, is there anything that might break if I removed the prototypes?