- or download this
sub alter {
my @newlist;
...
}
@newlist;
}
- or download this
sub alter {
grep $_, map { uc is_name($_) } @_;
}
- or download this
sub alter(*@a) {
gather for @a {
...
take uc $name if $name;
}
}
- or download this
sub alter(*@a) {
gather for @a.map({ is_name($_)}) {
take .uc if $_;
}
}