# now: open (MAIL, "|/usr/sbin/sendmail -t") open (MAIL, '>', "|/usr/sbin/sendmail -t")