in reply to Subroutines and parsing

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).