note
jsprat
It got me too (see [id://210557])... It's a matter of precedence. Have a look at how perl parses it:<p>
<code>perl -MO=Deparse,-p -e "$a = $_ + rand @{$r} - $_"
($a = ($_ + rand((@{$r;} - $_))));
^^ ^^
-e syntax OK</code><p>The '- $_' is part of the argument to rand, not the assignment to $a.
210389
210605