So "override a global lexical variable for a dynamic scope", where you have access to the global via an alias.
Could you use $_, $a and $b or arguments instead?
I don't see how PadWalker would help. If you found a solution using it, it might be possible to recreate the solution using B (a core module).
In reply to Re^7: localizing lexical without messing with tie ?
by ikegami
in thread localizing lexical without messing with tie ?
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |