Is it possible to override the assignment operator?

I tried "def operator=", and while the compiler seems to accept the
syntax, my method is not called at run time :-(

Thanks in advance...