Sendmail On Mac Osx 10.2.8

All I really want to do is access sendmail from a perl script. Just a simple script that accesses a mailing list then sends an email to everyone. I want the "From" part of the email to be an address that I specify.

However, all the documentation for sendmail that I can find is for turning your computer into a full blown mail server.

Can't somebody just tell me what I have to do to run sendmail only for perl scripts.

I have had these scripts on other servers before and they work fine.