
![]() | ![]() |
8.194. Sys::Hostname
Provides one function,
hostname, which attempts to get the system
hostname by doing checks appropriate to the operating system. Removes
nulls, returns, and newlines from the result, which it then caches.
croak s on failure.
use Sys::Hostname;
$host = hostname( );
![]() | ![]() | ![]() |
8.193. Symbol | ![]() | 8.195. Sys::Syslog |

Copyright © 2002 O'Reilly & Associates. All rights reserved.