in reply to @addrs = (gethostbyname('www.yahoo.com'))[4..-1] ?

(undef, undef, undef, undef, @addrs) = gethostbyname('www.yahoo.com');