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: <%-{-{-{-<
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: naming anonymous subroutines inner variables
by BrowserUk (Patriarch) on Jun 22, 2016 at 23:55 UTC | |
by AnomalousMonk (Archbishop) on Jun 23, 2016 at 00:00 UTC |
In Section
Seekers of Perl Wisdom