Net::hostent(3p) Perl Programmers Reference Guide Net::hostent(3p)
Net::hostent(3p) Perl Programmers Reference Guide Net::hostent(3p) # Net::hostent(3p) Perl Programmers Reference Guide Net::hostent(3p) NNAAMMEE # Net::hostent - by-name interface to Perl's built-in gethost*() functions SSYYNNOOPPSSIISS # use Net::hostent; DDEESSCCRRIIPPTTIIOONN # This module's default exports override the core ggeetthhoossttbbyynnaammee(()) and ggeetthhoossttbbyyaaddddrr(()) 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 _n_e_t_d_b_._h; namely name, aliases, addrtype, length, and addr_list. ...