my @temp_and_starts = @{$_} =~ /[^\s]+/g; #### Applying pattern match (m//) to @array will act on scalar(@array)