Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

type checks

0 views
Skip to first unread message

wes...@mxcloud.app

unread,
Jun 2, 2023, 4:15:06 AM6/2/23
to begi...@perl.org
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.
0 new messages