in reply to Re^4: Possible to change package of code reference?
in thread Possible to change package of code reference?

Be warned that this works just in your simple case.

Any closure vars would lose their share and B::Deparse fails at some edge cases.

It's not a fool save technique.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

  • Comment on Re^5: Possible to change package of code reference?