in reply to Re^6: scanning hash
in thread scanning hash
or$x = 1.23456; $y = 1.234560000000001; print 0+($x == $y); # prints 0 for me print 0+($x eq $y); # prints 1 for me
Are they equal? Yes and no.$x = 0; $y = "0";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: scanning hash
by Aristotle (Chancellor) on Aug 02, 2004 at 20:37 UTC |