On Wed, 8 Jan 2003, Jenda Krynicky wrote: >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.
I'll take a look; thanks. D. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]