MAN page from RedHat Other perl-5.004-0.1.i386.rpm
Sys::Hostname
Section: Perl Programmers Reference Guide (3)
Updated: perl 5.004, patch 04
Index NAME
Sys::Hostname - Try every conceivable way to get hostname
SYNOPSIS
use Sys::Hostname; $host = hostname;
DESCRIPTION
Attempts several methods of getting the system hostname andthen caches the result. It tries
syscall(SYS_gethostname),
`hostname`,
`uname -n`, and the file
/com/host.If all that fails it
croaks.
All nulls, returns, and newlines are removed from the result.
AUTHOR
David Sundstrom <
sundsAATTasictest.sc.ti.com>
Texas Instruments
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- AUTHOR
This document was created byman2html,using the manual pages.