Perl-Sensitive Sunglasses | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
FWIW, my reason for using prototypes in a situation like this:
is because it does check the prototypes, since it's not a member dispatch or anything like that. Specifically, if I add a parameter to the helper (or remove one) as I tinker with the code, the compiler will catch any uses I didn't update. Basic idea: in situations when they do offer checking, why not give the compiler all the information you can? —John In reply to Re: When to use Prototypes?
by John M. Dlugosz
|
|