Welcome to the Monastery | |
PerlMonks |
PadWalker::var_name BUG?by LanX (Saint) |
on Feb 16, 2016 at 17:51 UTC ( [id://1155372]=perlquestion: print w/replies, xml ) | Need Help?? |
LanX has asked for the wisdom of the Perl Monks concerning the following question:
Hi I found a serious limitation in PadWalker and I'm not optimistic this can be resolved easily. var_name() seems to fail if the originating context of the lexical variable was a string eval
The module is called PadWalker and seems eval doesn't use a "pad" for lexicals (?) This limitation isn't listed in the docs (no mention of eval at all). Or am I missing something?
Cheers Rolf
Back to
Seekers of Perl Wisdom
|
|