Subroutines

sub name
{
Copy the arguments (parameters) passed to the subroutine into local variables.
my($arg1, $arg2) = @_;

statement(s);

[return expression;]
}

...

[$scalar =] name(arg1, arg2);