# And finally, print out the results print "$errorcode$errormessage\n"; print "Ave$get_responses->{\"$pingResultsAveRtt\.$fulltargetname\"}\n"; print "Min$get_responses->{\"$pingResultsMinRtt\.$fulltargetname\"}\n"; print "Max$get_responses->{\"$pingResultsMaxRtt\.$fulltargetname\"}\n"; } $session->close; # If the instance is merely being set up then we will not output anything. We will # get results next time around. exit 0;