I wanted to be able to tie the original variable while changing the original data.
This creates a lot of headaches to even access that data, to avoid recursion and related warnings.
> It's unclear to me what your proxy class is actually supposed to be doing?
Consider debugging, setting watchpoints, tracing, meta programming,...
It's not always possible to replace the monitored variable with a proxy, you just want to attach the magic directly.
There is code in the OP.
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
In reply to Re^2: using TIEHASH as wrapper/proxy, while avoiding recursion and warnings
by LanX
in thread using TIEHASH as wrapper/proxy, while avoiding recursion and warnings
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |