But did you try simply switching off warnings (in a suitably narrow scope, of course)? I.e.,
no warnings;
or
no warnings qw(numeric);
See warnings and perllexwarn.
In reply to Re^3: Argument "" Isn't numeric in numeric eq (==)
by AnomalousMonk
in thread Argument "" Isn't numeric in numeric eq (==)
by ler224
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |