foreach $_(@F) # For each value in the list called @F { # Do stuff... } #### if ($F[6]) # If the seventh individual value in @F is true { # Do stuff }