- or download this
this({
string => $string,
...
my $p = shift; # all params in hashref
print $p->{string} x $p->{times};
}
- or download this
my $href = { string => "Hello, world!" };
my $previous_error = $error;
...
print $p->{string};
}
}
- or download this
this();
...
$p->{hostname} = $p->{hostname} || "0.pool.ntp.org";
$p->{port} = $p->{port} || 123;
}