Subroutines are created by using the keyword sub followed by an identifier and a code block enclosed in braces.
You can access the arguments by using the special variable @_, which contains all arguments as an array.
sub function_name {
my ($arg1, $arg2, @more_args) = @_;
# ...
}
Sin...