in reply to Re^5: Accessing single element without args
in thread Accesing single element without args

I’m not familiar with PadWalker, but following Anonymous Monk’s comment above, I had a quick look. As I understand it, PadWalker allows you to access variables in subroutines higher than your current position in the call stack. As you want to access a variable within a subroutine you will be calling, this module won’t help you either. :-(

Yeah, you're pretty much correct ...

though peek_sub *might* yield some result but it probably won't ... its not worth even thinking about it let alone trying it out

coping with scoping OP does not :)

  • Comment on Re^6: Accessing single element without args