Under the influence of use warnings FATAL => qw(numeric);
Actually, just writing use warnings; is sufficient. Example:
prints Argument "abc" isn't numeric in addition (+) at U:\develsv\ARTS\playground\eval_test1.pl line 4.use strict; use warnings; my $value="abc"; my $t=eval { 0+$value }; print "$@\n";
In reply to Re^3: Exploiting Perls idea of what is a number
by rovf
in thread Exploiting Perls idea of what is a number
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |