in reply to Re: Getting name of a lexical variable without PadWalker?
in thread Getting name of a lexical variable without PadWalker?
B::Xref itself is written in Perl, necessary methods are imported from B
> which is an XS module (albeit bundled with the perl distribution).
B is advertised as "Perl's Compiler Backend" and bundled in core.
Hence no dependency risk, using it is far safer as recompiling an XS module.
PadWalker has bugs, a Pure Perl solution could be updated more often.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
|---|