Can you put together a minimal example of your code that runs and exhibits this problem? The code you posted is fine, and I suspect you have something different in the code which fails for you (for example, in the original code the subroutine is called mailThis, but in above code it's just called mail), and that's where the error lies somewhere
In reply to Re^3: Mail::Mailer in a sub question.
by tirwhan
in thread Mail::Mailer in a sub question.
by docster
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |