The standard wisdom on prototypes is: Don't use them unless you really know what they're doing.
For old Perl code written by peers, you can judge if they had a clue. Usually they didn't; usually they think it's like C prototypes. Review how the functions are getting called. Test each change. For well-established code written by Perl gods or regular CPAN-submitters, you can usually leave them alone, they're there for a reason.
--
[ e d @ h a l l e y . c c ]
In reply to Re: Refactoring prototypes - what am I going to break
by halley
in thread Refactoring prototypes - what am I going to break
by throop
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |