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

In my use-case I could actually replace the variable's ref in the functions pad with a new one.

But in general tie %var is supposed to dock to an existing variable without changing it's name or reference!

That's why the pedant in me is surprised that I have to jump thru all those hoops.

And yes I tried to not reinvent the wheel and found Tie::Watch , what they do is actually a flat copy of the whole data-structure in the constructor.

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

  • Comment on Re^2: using TIEHASH as wrapper/proxy, while avoiding recursion and warnings
  • Download Code