for my $a_val (@a) { (my $s = $a_val) =~ s/x//g; push @b, $s if $s; }
In reply to Re^2: Basic list manipulation, and a bit of map() confusion...
by ysth
in thread Basic list manipulation, and a bit of map() confusion...
by cmv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |