Combining use overload and tie() can be done, but it requires overloading one of the scalar dereference operators (or any of the others). ie. ${} @{} %{} etc.
The basic idea is that you tie() self inbetween the dereferencing operation.
The only drawback is you must dereference to tie() the object (in ribbons ;). You will use it like this:
Cheers buds!$var + 1; # use overload '+'... $$var = 'custom STORE'; # STORE() called...
Disclaimer: Use at your own risk. May not work for you like it did for me.
In reply to Re: Overloading assignment
by v_o_i_d
in thread Overloading assignment
by v_o_i_d
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |