This section provides a tutorial example on how the parameter list is passed to and received in a user defined subroutine by the local array variable @_.
As mentioned in the previous section,
all parameters of a subroutine call are passed as a single list
of scalars. If a list (array or hash) is used in a subroutine call
as a parameter, it will be exploded into multiple parameters with
its elements.
All parameters of subroutine call will be received as elements in a local array variable
named as @_.
Here is a tutorial example on parameter list is passed to and received in a subroutine: