push(@data, $response) while(($response = <$remote>) ne 'SQLEND');