$ip = defined($1) ? $1 : "No answer"; print $ip; }