in reply to Re: Re: Executing independet commands in PERL
in thread Executing independent commands in PERL
$p = Net::Ping->new("icmp"); foreach $host (@host_array) { print "$host is "; print "NOT " unless $p->ping($host, 2); print "reachable.\n"; sleep(1); } $p->close();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Executing independet commands in PERL
by jink (Scribe) on Mar 06, 2001 at 17:03 UTC |