in reply to Re: Handling both string and numeric comparisons
in thread Handling both string and numeric comparisons

If you use warnings;, you will get a warning:
Argument "five" isn't numeric in addition (+) at try.pl line 6.
You will not get a warning for doing string comparison on a number, though.

Caution: Contents may have been coded under pressure.