my @result = map { g($_) } grep { f($_) } @list;
But that's just me . . .
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re^2: map versus for
by Fletch
in thread map versus for
by dHarry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |