note
tilly
See [id://46054] for a discussion of the scoping of $_.<p>
If you wish to use it widely in loops, then it is up to you to either [local]ize it before calling anything that manipulates it, or to [local]ize it before assigning to it.<p>
It is, of course, better to never assign to [$_] without [local]izing it, but you can't always control other people's code. Therefore the paranoid call [local] on $_ early and often.
274112
274112