Welcome to the Monastery | |
PerlMonks |
Re^3: check if 2 values are equalby Corion (Patriarch) |
on Jan 24, 2006 at 19:35 UTC ( [id://525298]=note: print w/replies, xml ) | Need Help?? |
My solution is wrong, but for different reasons. eq cannot replace ==:
use strict; has no bearing on comparisons. What you are thinking of is use warnings;, which will warn about non-numeric values being compared with ==.
In Section
Seekers of Perl Wisdom
|
|