Letter P

perl-Sys-Hostname - Try every conceivable way to get hostname

Website: http://www.perl.org/
License: GPL+ or Artistic
Description:
Attempts several methods of getting the system hostname and
then caches the result.  It tries the first available of the C
library's gethostname(), `$Config{aphostname}`, uname(2),
syscall(SYS_gethostname), `hostname`, `uname -n`,
and the file /com/host.  If all that fails it croaks.

All NULs, returns, and newlines are removed from the result.

Packages

perl-Sys-Hostname-1.16-2m.mo8.x86_64 [28 KiB] Changelog by NARITA Koichi (2012-01-17):
- (12:5.14.2-2m)
- [SECURITY] CVE-2011-3597

Listing created by Repoview-0.6.6-1m.mo8