1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
freebsd-ports/sysutils/p5-Sys-Hostname-FQDN/pkg-descr
Sunpoet Po-Chuan Hsieh ad4f267b7a Update WWW
search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.

With hat:	perl
2018-05-27 20:15:16 +00:00

10 lines
399 B
Plaintext

Sys::Hostname::FQDN uses the host 'C' library
to discover the (usually) short host name,
then uses (perl) gethostbyname to extract the real hostname.
The results from gethostbyname are exported as gethostinfo
and asciihostinfo as a convenience since they are available.
Similarly, the 'C' library functions inet_ntoa and inet_aton are exported.
WWW: https://metacpan.org/release/Sys-Hostname-FQDN