in reply to Re^2: passing a variables name to a subroutine
in thread passing a variables name to a subroutine

hmh ... seems not to work, if the dumped ref is a lexical variable in production-code.

With which code did it not work? Did you try PadWalker as I suggested? How the the production code differ from the test code?

  • Comment on Re^3: passing a variables name to a subroutine