map { push @frobbed, frobulate($_) } @list; # not ok @frobbed = map { frobulate($_) } @list; # ok
By mcsnolte