|
Perl 6
witch_dash: Revision 1
Mnemonics"negative", "number", "subtract" -- usage is very intuitive Used alone
- along with + coerces to type Num Operators containing this character- - pre and post decrement as in common parlance (which means use it like you would expect) When used inside regexes
- at start of a character class changes the sense Other Uses
- has wildcard uses in version literals
[*-1] finds the last entry of an array which is not special sugar but worth noting. |