I hope I’m not being obtuse and about to embarrass myself but…
# Why this? my @b = apply { $_ = uc($_);} @a; # Instead of this, or a more verbose version of it? my @b = map uc, @a;
In reply to Re^2: Perl::Critic says don't modify $_ in list functions and other things
by Your Mother
in thread Perl::Critic says don't modify $_ in list functions and other things
by Lady_Aleena
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |