Thomas Browner wrote: > Is there away to find all of the hostname on a lan with use of perl?
Portable to most systems:
use Sys::Hostname;
my $host = hostname;
or (on Windows systems):
my $host = $ENV{COMPUTERNAME};
or (on *nix systems):
my $host = $ENV{HOSTNAME};
--
Helgi Briem T�knideild Landss�minn EHF
[EMAIL PROTECTED]
S�mi: 550-7466 GSM: 896-7466
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
