I apologize for my lack of knowledge in this area. I'm a complete novice in perl. I've been reading the MIME documentation. I see how to set up mail. The thing that isn't clear to me is how I would use MIME in the script above to email the scripts output. What I'm not getting is how to pipe the output of the script into an email body.
The only experience I've had in mailing output is by setting variables to urls and then curl that variable