in reply to Re: using TIEHASH as wrapper/proxy, while avoiding recursion and warnings
in thread using TIEHASH as wrapper/proxy, while avoiding recursion and warnings
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: using TIEHASH as wrapper/proxy, while avoiding recursion and warnings
by haukex (Archbishop) on Apr 22, 2024 at 13:29 UTC |