print $fh "@{[ map { 'something' . $_ } @list ]}\n"; #### my @list = map { 'something' . $_ } $number1 .. $number2;