In Perl, if you have a loop like this:
foreach (@items) { perform_action($_); }
you can replace it with a call to map in v
map
I believe 'Perl Best Practices' would recommend using an explicit variable in the foreach loop as the best style - it is certainly what I'd use.
foreach
foreach my $item (@items) { perform_action($item); }
It is an abuse of map (or grep) to use it in a void context.
grep