summaryrefslogtreecommitdiff
path: root/lib/Net
diff options
context:
space:
mode:
authorNat Torkington <gnat@frii.com>1997-08-07 00:00:00 +0000
committerTim Bunce <Tim.Bunce@ig.co.uk>1997-08-07 00:00:00 +1200
commit89b161a4c3681bfb1e895d3a3198b2bafc0b0f92 (patch)
tree1742b18188dd2bf4d51d8743adde3bf6f639a0ad /lib/Net
parentcb628fe93d2f7c1643c96d783d036f8905a3b977 (diff)
downloadperl-89b161a4c3681bfb1e895d3a3198b2bafc0b0f92.tar.gz
Net::hostent documentation error
perl -pi -e 's/addresses/addr_list/g' .../Net/hostent.pm p5p-msgid: 199707082222.QAA24728@elara.frii.com
Diffstat (limited to 'lib/Net')
-rw-r--r--lib/Net/hostent.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Net/hostent.pm b/lib/Net/hostent.pm
index dfca789817..96b090dae5 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<netdb.h>;
-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