|
Perl 6
WITCH plus: Revision 3
Mnemonics"positive", "number", "add"
-- usage is very intuitive Used alone
+ along with - coerces to type Num Operators containing this character
++ pre and post increment as in common parlance (which means use it like you would expect)
.++ post increment dotted form (used like a method) When used inside regexes
+ ans +? still mean one or more Other Uses
+ has wildcard uses in version literals
[+*] finds the next empty slot at the end of the array which is not special sugar but worth noting. Obselete, deprecated or other language uses+ was replaced as a twigil by * to indicate a contextually scoped variablecontextually scoped variable |