in reply to Re^2: lexicaly scoped export of variables?in thread lexicaly scoped export of variables?
PadWalker should certainly do the trick if you're happy to declare the variables with my in the target scope.