ANSWERS: 1
  • There are a couple of ways to do this. The simplest would just be to do a ping in an exec, like: @results = `ping host.com`; If you want to get really robust, use the Net::Ping module, available from CPAN. Check it out here: http://search.cpan.org/~bbb/Net-Ping-2.31/lib/Net/Ping.pm Hope this helps...

Copyright 2023, Wired Ivy, LLC

Answerbag | Terms of Service | Privacy Policy