> I think we agree.
   > 
   > $foo is a tied variable
   > $bar is a normal variable
   > 
   >    sub zap : lvalue { return $_[0] ? $foo : $bar }
   > 
   >    zap(1) = 5;     # Goes to tied variable
   >    zap(0) = 5;     # Normal store

And it would also be good to be able to overload operator = for objects,
so that assigment to then could be intercepted without having to tie the
reference as well.

Damian

Reply via email to