#!/usr/bin/perl -- use strict; use warnings; use Net::hostent; use Socket; my @addrs = @{ gethostbyname('www.yahoo.com')->addr_list };
In reply to Re: @addrs = (gethostbyname('www.yahoo.com'))[4..-1] ?
by Anonymous Monk
in thread @addrs = (gethostbyname('www.yahoo.com'))[4..-1] ?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |