While
mirod has answered your question directly, I would just add
perlsub,
perlsyn and
perlref as references which should help also. This documentation and more is available in the
Library and through the
perldoc command from your command line or shell prompt.