|
Perl 6
WITCH bang: Revision 3
Mnemonics
"not!", "!nvert", "!mportant", "!nternal", "ouch!" Used alone
! negated boolean coercer as in common parlance (that means "use it like you are used to doing") Used as a brace pair or quote pairOperators containing this character
! can mutate other operators to negate their boolean sense When used inside regexes
!{ in extensible metasyntax introduces an inverted code assertion Special Variables$! is the current exception topic As an adverb:! before the adverb of an adverbial pair constructor, is shorthand for assigning a value of 0 (which is false) Other Uses
! after a parameter in a prototype marks it as a required parameter Old, deprecated, or other language uses!! does not do a double invert, use ? to coerce boolean |