I think using a foreach alias like shown in the docs for substr is a clearer alternative to lvalue-refs.
Maybe, though I've been aware of LVALUE refs, and using them regularly, for a long time, but I've never seen a use of a for alias used that way until I followed your link to a newer set of docs than I have locally.
The first one is very familiar (to me), whereas the latter just looks weird.
The presence of \ and $$ref seem stronger clues than the $_ and for.
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.