You should include $? in your error message, like close MAIL || die "sendmail error $! status $?";.
I'm looking for a job.
In reply to Re: close statement issue
by ysth
in thread close statement issue
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |