http://www.perlmonks.org?node_id=124490


in reply to When to use Prototypes?

FWIW, my reason for using prototypes in a situation like this:
sub helper ($$$) { ... sub foo { # code that calls helper
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