- or download this
sub padded {
my ($text, $arg_ref) = @_;
...
return $filler x $left . $text . $filler x $right;
}
- or download this
sub unpack_named_first {
my ($pos1, $pos2 ,%arg) = @_; # unpack
...
# ...etc
}
- or download this
sub unpack_named_later {
my ($pos1 ,$pos2 ,%arg) = @_;
...
# ...etc
}
- or download this
sub unpack_named_on_the_fly {
my ($pos1 ,$pos2 ,%arg) = @_;
...
# ...etc
}
- or download this
$pos1 // die_miss();
$pos2 // warn_miss();