Perl: the Markov chain saw | |
PerlMonks |
perlman:Sys::Hostnameby root (Monk) |
on Dec 23, 1999 at 00:53 UTC ( [id://1241]=perlfunc: print w/replies, xml ) | Need Help?? |
Sys::HostnameSee the current Perl documentation for Sys::Hostname. Here is our local, out-dated (pre-5.6) version: Sys::Hostname - Try every conceivable way to get hostname
use Sys::Hostname; $host = hostname;
Attempts several methods of getting the system hostname and then caches the
result. It tries syscall,
All nulls, returns, and newlines are removed from the result.
AUTHORDavid Sundstrom <sunds@asictest.sc.ti.com> Texas Instruments |
|