If you know $x and $y are both objects, then I much prefer $x == $y over $x eq $y, your FUD not withstanding. If the objects may overload numification and/or stringification, then that changes things; it can make either or both of == / eq inappropriate. In that case, you can use something from overload but I'm not familiar with it.
- tye
In reply to Re^2: I know two prints are slower than one, but 200x slower?!?!? (==)
by tye
in thread I know two prints are slower than one, but 200x slower?!?!?
by rsmah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |