From: David Winters <[EMAIL PROTECTED]>
> I'm trying to write a script that'll check to see if another machine
> is pingable, and perform one of two actions based on the result. I
> found the following isPingable() subroutine on a website (that is now
> not responding, so I couldn't contact its author) and thought I'd see
> how well it works.
>
> Right now, it behaves correctly if fed the IP of a pingable machine,
> or if fed an IP that isn't in the DNS. But it delivers false
> positives if a target IP is listed in the DNS but is turned off.
It would be better to
use Net::Ping;
module.
Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]