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

Re^4: Changing the name of a function in the call stack

by LanX (Saint)
on Nov 19, 2021 at 20:56 UTC ( [id://11138961]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Changing the name of a function in the call stack
in thread Changing the name of a function in the call stack

> This is inferior to Sub::Name for two reasons:

well, I was aware of the side effects, but you said in the OP

> create function wrappers,

so I supposed you are going to automate the wrappers, hence all anon subs would be treated by your attribute handlers and you could de-localize the name before calling the wrapped sub.

Anyway, I wouldn't be surprised if the mechanics of Sub::Name were possible without XS and just using methods from the B backend module

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

  • Comment on Re^4: Changing the name of a function in the call stack

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-25 22:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found