If you know $x and $y are both objects, then I much prefer $x == $y over $x eq $y, your FUD not withstanding.
Sorry for giving the impression of spreading FUD, which has a definitely bad acceptation. Actually it was a fear, an uncertainty and a doubt of mine, as I hope it was clear enough. Now, AIUI from your explanation, both == and eq are equally fine from the technical POV, aren't they?
I must admit I had never thought what the numification of a (blessed) reference could be:
cognac:~ [19:21:09]$ perl -le 'print for map {$_, 0+$_} bless \(my $x) +,"A"' A=SCALAR(0x814fe28) 135593512 cognac:~ [19:21:15]$ perl -le 'print 0x814fe28' 135593512
Thank you for stimulating me to meditate and "experiment" about this!
In reply to Re^3: I know two prints are slower than one, but 200x slower?!?!? (==)
by blazar
in thread I know two prints are slower than one, but 200x slower?!?!?
by rsmah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |