I want to write a -d: debugger that "knows" when variables are being modified.
I have seen the "watch" code in perl5db.pl, but I also want to catch cases when hashes/arrays/references get changed, so it doesn't help me.
How can it be done?
(Is it even possible to do it?)