in reply to Strict error on var when using Mail::SendMail
I don't think the diagnostics pragma allows you to selectively disable its messages, like you can with e.g. no warnings 'once', but you can turn all diagnostics off and on:
For more details, see the manuals for diagnostics and warnings.use diagnostics; disable diagnostics; do_naughty_stuff(); enable diagnostics; do_nice_things();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Strict error on var when using Mail::SendMail
by ikegami (Patriarch) on Mar 22, 2007 at 06:13 UTC |