On Wed, 2005-11-02 at 11:46 -0700, John Williams wrote:
> It is not so much an operator, as it is a subroutine with really strange
> syntax, and the side-effect of changing the $_ variable.  You need to use
> an operator to get it to affect a different variable.

operators _are_ subroutines.  There is no difference.

 multi sub *infix:<*> (Set $one, Set $two) returns Set {
     $one.intersection($two);
 }

Sam.

Reply via email to