in reply to Re: Passing a query string to a sub call
in thread [untitled node, ID 155729]

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.