in reply to Re: Nested subroutines and access to variables in an outer scope
in thread Nested subroutines and access to variables in an outer scope

Just a bit of nit picking, but moving the vars out of the scope of my_func makes it impossible to call my_func recursive.
Boris