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

Perl6 will have user defined operators, so you can always create a module that defines the operators you propose. It also is going to have a pluggable parser, so you could even do it on the parser level.

In Perl5, you cannot define new operators using overload. You can give new meaning to existing operators though. So you could always pick an operator you hardly use, and give the meaning like you give for instance ?le:=, use that for a while and see whether you really use that so often it would warrant inclusion in the Perl core.

As for // and //=, the development track for 5.9.0 has those operators.

Abigail

  • Comment on Re: A set of new operators. In keeping with the design of Perl?