jbodden has asked for the
wisdom of the Perl Monks concerning the following question:
Hello, I humbly seek the wisdom of the Perl Monks on the following challenge that has come my way. I'm new to Perl (from a programming aspect anyway) and new to this site. It definitely seems like the right place to be in order to develop my unused Perl programming skills. Right now I have a specific deliverable that is required and I have determined Perl to be the most effective way of meeting that deadline.
I have written a little script that searches a log text file for a specific string, when it finds it I just have it print out that it found it right now. What I need the script to do is to send an email to the helpdesk that simply says "backup failed on server X" in the subject. Thats all, I thought, it would be simple and straight forward (LOL...)
Every thing I can find seems to rely on other scripts and convoluted setups. I will be distributing this to 100's of servers and really would just like to keep everything short and within the same script if possible... Is there a simple way to do this or do I have to find a way to include something like SendMail or Mail:Mailer, etc...