my @array = map { some_sub($_, $opt); } @another_array;