my ($response,$array_of_responses) = whoisip_query($ip); %resp_hash = %$response; @resp_array = @$array_of_responses;