in reply to Help Dereferencing Net::Whois::IP
At this point you have the regular ol' hash and array like you're used to dealing with. Now, of course, you could have skipped the additional assignment and done things in a more direct manner, working with the de-referenced hash and array rather than copying them like I did, but this slightly more verbose manner is the way I was first able to understand references and de-referencing.my ($response,$array_of_responses) = whoisip_query($ip); %resp_hash = %$response; @resp_array = @$array_of_responses;
|
|---|