|
Perl 6
WITCH squiggle: Revision 4
Mnemonics"string","stitch"
Used alone
~ As a prefix operator, coerces to subtype Str (string) Operators containing this character
~^ ~| ~& bitwise logical operations on buffers or strings When used inside regexes
~~ and !~~ inside a regular expression: cause a nested submatch to be performed. Hyper operator and meta operator restrictionsMost hyper operators and meta operators have functional ~ forms. Old, deprecated, or other language uses
=~ and !~ in Perl5 used to be for matching. Now it is ~~ (see above). =~ is always a syntax error in Perl6. |