in reply to Re: Dns lookups
in thread Dns lookups
you can also get rid of that pesky array
use Socket;print "$_\n".inet_ntoa((gethostbyname$_)[4])."\n\n" for @AR +GV;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Dns lookups
by hippo (Bishop) on Dec 12, 2013 at 09:44 UTC | |
by perlaintdead (Scribe) on Dec 12, 2013 at 10:46 UTC |
In Section
Cool Uses for Perl