lorenw14 has asked for the wisdom of the Perl Monks concerning the following question:

What effect on the parsing of a Perl program does the declaration of a subroutine? I think that this effect can be altered by providing a prototype with the declaration but I am not sure.

Replies are listed 'Best First'.
Re (tilly) 1: Subroutines and parsing
by tilly (Archbishop) on Apr 16, 2001 at 07:16 UTC
    See perlsyn for basic information on what it does.

    Also perlsub has a related section on overriding subroutines (which takes a little more work than simply declaring them) and there is an interesting article here on what prototypes are (and more importantly why you don't want to use them).