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";
In reply to Re^7: scanning hash
by ysth
in thread scanning hash
by hotshot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |