Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: DNS Lookup

by Khen1950fx (Canon)
on Jan 20, 2012 at 10:09 UTC ( #948921=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -l
    
    ...
        die "Cannot getnameinfo - $err" if $err;
        print "$ipaddr";
    }
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    else {
        warn "Query failed: ", $res->errorstring;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://948921]
help
Chatterbox?
[marto]: so if someone just patched something, there's a problem
[marto]: or perhaps just a temporary thing
[LanX]: no I had a typo
[LanX]: jdporter: fixed it s/$p/$q/

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (12)
As of 2017-12-14 21:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (410 votes). Check out past polls.

    Notices?