in reply to Re^3: How is redefining a sub internally done?
in thread How is redefining a sub internally done?

Well maybe

I tried to look into the code of pp_entersub but didn't understand much... 🤷🏻‍♂️

Personally when trying to implement this, I would try to use the original sub to link to the current one. Hence just a hop away.

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