From: Nat Torkington Date: Thu, 7 Aug 1997 00:00:00 +0000 (+0000) Subject: Net::hostent documentation error X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=89b161a4c3681bfb1e895d3a3198b2bafc0b0f92;p=p5sagit%2Fp5-mst-13.2.git Net::hostent documentation error perl -pi -e 's/addresses/addr_list/g' .../Net/hostent.pm p5p-msgid: 199707082222.QAA24728@elara.frii.com --- diff --git a/lib/Net/hostent.pm b/lib/Net/hostent.pm index dfca789..96b090d 100644 --- a/lib/Net/hostent.pm +++ b/lib/Net/hostent.pm @@ -76,9 +76,9 @@ This module's default exports override the core gethostbyname() and gethostbyaddr() functions, replacing them with versions that return "Net::hostent" objects. This object has methods that return the similarly named structure field name from the C's hostent structure from F; -namely name, aliases, addrtype, length, and addresses. The aliases and -addresses methods return array reference, the rest scalars. The addr -method is equivalent to the zeroth element in the addresses array +namely name, aliases, addrtype, length, and addr_list. The aliases and +addr_list methods return array reference, the rest scalars. The addr +method is equivalent to the zeroth element in the addr_list array reference. You may also import all the structure fields directly into your namespace