Given time, I expect we'll be able to push $arref1, $arref2
I don't think so (if you expect that would be equivalent to push $arref1, @$arref2), because it's ambiguous (do you want to push the ref $arref2 itself or the array's elements?), while the current change isn't. Only the programmer can resolve that ambiguity...
| [reply] [d/l] [select] |
Only the programmer can resolve that ambiguity
Hmph ... so much for perl's fabled DWIM capabilities !!!
;-)
Cheers, Rob
| [reply] |
| [reply] [d/l] [select] |
The change that 5.13.7 introduces only affects the first argument...
That's all clear, but I understood syphilis to be talking about a hypothetical future extension of "$arref means @$arref" to the second argument, too. Otherwise why would he have said "Given time, I expect we'll be able to..." if it applies to what is possible already? But maybe I got him wrong.
| [reply] [d/l] [select] |