[EMAIL PROTECTED] (T3tsu0) writes:

> sub send_mail {
>         open(MAIL,"|$mail_prog -t") || &error("unable to send mail to:
> $to_name - $to_addr");
[...]
>         close(MAIL);

you really want to put error checking on the close() too.  In many
cases you won't be told until then if the open fails.

-- 
ask bjoern hansen, http://ask.netcetera.dk/   !try; do();

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to