Problems? Is your data what you think it is? | |
PerlMonks |
sendmail not returning error infoby gsee (Acolyte) |
on Nov 26, 2014 at 10:19 UTC ( [id://1108436]=perlquestion: print w/replies, xml ) | Need Help?? |
gsee has asked for the wisdom of the Perl Monks concerning the following question: Hi I have written a script which calls the system sendmail, which in most cases works well. But when it fails on the close statement i am getting nothing back in $! Here is the code:
The logger subroutine is a simpler print to file and exit if second parameter is 1 Is there something I am missing here? I really need to know why the close statement is failing so I can do something about it.
Back to
Seekers of Perl Wisdom
|
|