in reply to Re^2: Bitten by the || bug (@{})
in thread Bitten by the || bug
So it is scalar context. (Thanks for the correction on wantarray.)
By way of an explanation: I misremembered the issue I had in mind. What I was thinking of is that the scalar reference-taking operator \ evaluates its argument in list context. This came up in discussion of the (ab)use of @{[]} or ${\()} constructs to put code inside here-docs.
Makeshifts last the longest.
|
|---|