in reply to Re^5: Order of evaluation/interpolation of references (quirks)
in thread Order of evaluation/interpolation of references
Note that I never said "in the same statement".
No, I did in the post to which you replied, quoting from the post to which I responded.
If your code breaks when the Perl expression $x.$y is noticed to be inefficient because it does "stringify $x (into a copy), stringify $y (into a copy), concat the two (into a third copy)", then I'm pretty sure you've done something stupid in your Perl code.
Hm. Stupid is not illegal. And if it's not illegal, it shouldn't break.
Requiring users to know that "${x()}${X()}" is equivalent to $r1 = X(), $r2 = X(), "$$r1$$r2" is expecting an awful lot.
|
|---|