in reply to SENDMAIL problem!
... open(SENDMAIL, "|/usr/sbin/sendmail -oi ") or warn "cannot open pipe $!" and return ("...") ... [download]