|
Perl 6
WITCH colon: Revision 1
Mnemonics
"pair", "twin", "ditto", "reflection", "aspect" Used alone
: after a identifier at a statement boundary creates a label as in common parlance Operators containing this character
:: sigil and nesting separator for packages (and consequently, types) When used inside regexesSpecial Variables:: may often be seen after sigils with other special symbols but is only for scoping. Look in this section on the other characters' pages. As an adverb
: introduces an adverbial Pair constructor which includes also radix in literal numbers. Other Uses: after a parameter name in a Signature "names the invocant"<> Hyper operator and meta operator restrictionsOld, deprecated, or other language uses? : the ternary operator from perl5 and other languages is ?? !! in perl6 |