http://www.perlmonks.org?node_id=259098


in reply to Re: A set of new operators. In keeping with the design of Perl?
in thread A set of new operators. In keeping with the design of Perl?

Perl 6 will have built-in n-ary min and max operators.

But they almost certainly won't have assignment versions, until some evil person writes:

module In::Extremis; multi infix:max= (Num $curr is rw, Num $new) is exported { $curr = max $curr, $new; } multi infix:min= (Num $curr is rw, Num $new) is exported { $curr = min $curr, $new; }

Oops! Too late. ;-)