no warnings qw(void);
should do the trick. If you want to print a custom message, tryNote: any of the categories of warnings will work.warnings::warn('void', 'TRAPED');
In reply to Re: catching warnings
by jsprat
in thread catching warnings
by Anarion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |