Thanks your comments have helped me solve the problem, and I no longer will use diagnostics, but instead, warnings.
Now I have one error left, it is an "undefined subroutine &main::sendmail"
This function should have been exported to the namespace by default upon my call to the Mail::SendMail module, as the CPAN documentation states: sendmail is the only thing exported to your namespace by default.
I have tried calling it with a & in front, and also placing the Mail::SendMail::sendmail namespace in front, nothing seems to work.
Any ideas why it seems I cannot call the subroutine? | [reply] |
| [reply] |