in reply to Re^3: naming anonymous subroutines inner variables
in thread naming anonymous subroutines inner variables
Be careful!
Wise words. When I first posted this, I thought about adding some sort of note of caution about the aliasing, or just avoiding it altogether in the pseudo-code, but desisted because of concerns about minimizing changes to the OPed code and about brevity. The approaches here and here that entirely avoid aliasing are much better: an aliasing bug, if it manifests, can be a really nasty critter to deal with!
Give a man a fish: <%-{-{-{-<
In Section
Seekers of Perl Wisdom