Perl ping script

I was wondering if there was a Perl script that can ping one of my servers to make sure that it is alive and send me a net message if the server goes out.  I am on a windows environment and would like to use perl to do this. Can I get some help with this please
Who is Participating?
you ccould do qx`ping $server` or
use Net::Ping
leotronAuthor Commented:
Great thank you. I should have checked in cpan firs. thanks though
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.