in reply to Re: passing $_ to my function
in thread passing $_ to my function

Actually, this is dynamical scoping (local et al), not lexical (my et al).

Makeshifts last the longest.