Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Unlike many programming languages, Perl has no built-in support for named or “formal” parameters. The arguments to a subroutine are always passed in via a single array variable called @_. It is up to the author of the subroutine to give the arguments names and check them for consistency.
In general, you should always start off a subroutine by copying its arguments and giving them names. The preferred method is to use my: