title: what is the best way to check if the server is up and running on a remote machine with perl?
body: <p><strong>I am wondering what is the best way to check if the server is up on one machine using PERL.</strong></p>
  
  <p>Let say for example, I want to know if apache is running fine on some domain.
  I don't want to just ping that url because it might be turned off and give me a false result.</p>