|
Perl 6
WITCH equal: Revision 3
Mnemonics"equal", "evaluate", "iterate" Used alone
= assigns values as in common parlance Operators containing this character
:= aliases an identifier via runtime binding When used inside regexes= is used to declare aliases and behaves a bit more like := in this usage. Deprecated or other language uses
= as a prefix operator used to be used to do what is now Iterator.get (and IO.get, IO.lines) Special VariablesAs an adverbOther UsesHyper operator and meta operator restrictionsOld, deprecated, or other language uses=~ in Perl5 used to be for matching. That is ~~ in Perl6. =~ is always a syntax error in Perl6. |