in reply to random DBI suggestion
in thread Clean Code - What a mess...

I see no use of sendmail objects here. (although it might be importing something; I'm not so familiar with it)

sendmail is exported by the Mail::Sendmail module. It is somewhat unfortunately named, as it is a pure-Perl module, and does not require an external program (such as /usr/bin/sendmail). The author himself realises that it is poorly named, and were he to do it all over again, he would choose the name Mail::Simple.

--
g r i n d e r