in reply to Don't local(@_)

Nice catch! Definitely looks like a bug.

Although I'm having trouble envisioning under what circumstances this would create a problem in production code (I don't remember ever having a reason to localize @_), it's still a good catch. .

dmm

If you GIVE a man a fish you feed him for a day
But,
TEACH him to fish and you feed him for a lifetime