PadWalker is a module which allows you to inspect (and even change!) lexical variables in any subroutine which called you.

WWW: https://metacpan.org/pod/PadWalker
