No such thing as a small change | |
PerlMonks |
Re: Why are these 2 strings equal?by bikeNomad (Priest) |
on Jun 09, 2001 at 02:17 UTC ( [id://87103]=note: print w/replies, xml ) | Need Help?? |
Because when you use == the strings are converted to numbers. And both these strings equal 0 when converted to numbers. And 0 == 0.
In Section
Seekers of Perl Wisdom
|
|