in reply to Re: Pinging.
in thread Pinging.
then foreach item in the list get the Ip address.open(srv,"c:/server.txt")|| die "$^E\n"; chomp ( my @servers =<srv>);
Cheers,...BlackadderForeach my $srv (sort @servers){ my $ip = Win32::AdminMisc::GetHostAddress($srv); print "\nhost: $srv\tIp Address: $ip\n";}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Pinging.
by Anonymous Monk on Aug 07, 2002 at 13:40 UTC | |
by Massyn (Hermit) on Aug 07, 2002 at 15:13 UTC |