- or download this
# this sub takes named parameters:
sub restart_server {
...
# ...
}
- or download this
restart_server(
-host => $host,
...
port => $port,
timeout => $timeout
); # and this...
- or download this
restart_server({
-host => $host,
...
Port => $port,
Timeout => $timeout
]); # so does this...
- or download this
sub get_named_params
{
...
return $stripped_name;
}