That doesn't work for two reasons.
The solution is to eliminate the warning (using no warnings 'once'; for example), since there's no diagnostic message if there's no warning.
In reply to Re^2: Strict error on var when using Mail::SendMail
by ikegami
in thread Strict error on var when using Mail::SendMail
by davidov0009
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |