in reply to Sendmail Wrapper

If what you want to do is send mail, then a good way of doing this (for me, YMMVOC) is the Net::SMTP module. This allows your script to make a real SMTP connection to either the local machine or another mail server.

This has the benefits of:

Its easy to use too.