Perl Ping Script to check remote server or website
Here is a surprisingly simple code snippet to perform a ping to check if a remote server or website is up. It create a new Net::Ping object and then pings the server. We can optionally specify a port to see if a specific port is responding on the server which can be very useful if [...]