Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Getting name of a lexical variable without PadWalker?

by dave_the_m (Monsignor)
on Jul 15, 2020 at 21:10 UTC ( #11119375=note: print w/replies, xml ) Need Help??


in reply to Getting name of a lexical variable without PadWalker?

Erm, B::Xref is dependent on B, which is an XS module (albeit bundled with the perl distribution).

Dave.

  • Comment on Re: Getting name of a lexical variable without PadWalker?

Replies are listed 'Best First'.
Re^2: Getting name of a lexical variable without PadWalker?
by LanX (Cardinal) on Jul 15, 2020 at 21:38 UTC
    > bundled with the perl distribution

    yep, correct, this I meant.

    hence

    > > without dependency to a non-core XS module

    updated

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

Re^2: Getting name of a lexical variable without PadWalker?
by LanX (Cardinal) on Jul 16, 2020 at 15:40 UTC
    > Erm, B::Xref is dependent on B,

    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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11119375]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2020-10-23 12:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (238 votes). Check out past polls.

    Notices?