Hello,
I am not sure, is there any external module to check types in such mathematical calculation?
$ perl -le 'print ("3" + undef)'
3
$ perl -le 'print ("3" + 4)'
7
I hope the program will throw errors when the above happens.
Thanks.
Thread Next