push @{/$hit/ ? \@hits : \@potential_hgt}, $_ for @pids; [download]
In reply to Re^2: for loop trouble by Roy Johnson in thread for loop trouble by Anonymous Monk