|
Perl 6
WITCH lpointy: Revision 5
^ Mnemonics
arrowhead, less than, sideways V for "values" -- has multiple uses ---- ^ Used alone < as an infix operator performs a "comparison"<http://perlcabal.org/syn/S03.html#Chained_comparisons> ^ Used as a brace pair or quote pair <> is shorthand for the qw "quoted array constructor"<http://perlcabal.org/syn/S03.html#Changes_to_Perl_5_operators>, providing string context <> can "treat things as a hash" like {}, but provides an uninterpolated string context. (e.g. %hash<value>) <> can be used in Pair constructors in place of {}, providing uninterpolated string context (e.g. :key<value>) ^ Operators containing this character <= is a "comparison"<http://perlcabal.org/syn/S03.html#Chained_comparisons>. Note this means there is no assignment mutation. ~< +< and ?< left "bitwise shifts"<http://perlcabal.org/syn/S03.html#Changes_to_Perl_5_operators> <== or <<== a "feed operator"<http://perlcabal.org/syn/S03.html#Feed_operators> («== is not) ^ Other uses << can be used as a "Texas Quote", a substitute for « ("left french quote"[WITCH lfrench]) in environments where unicode source code is undesireable ^ Old, deprecated, or other language uses << is bitwise shift in many languages including perl5. That is now +<, ~<, or ?< |