gethostbyname name
Retrieves the address (and other names) of a network hostname. The return value in list context is:
($name, $aliases, $addrtype, $length, @addrs)
@addrs
gethostbyname
[ Library Home | Perl in a Nutshell | Learning Perl | Learning Perl on Win32 | Programming Perl | Advanced Perl Programming | Perl Cookbook ]