官术网_书友最值得收藏!

Working with Operators

Operators are the elements of the syntax of the language which perform actions over their operands and return a result. Perl 6 is a language with dozens of operators. Some of them are inherited from Perl 5 (directly or with modifications), some were invented especially for Perl 6. On top of the set of regular operators, Perl 6 defines the so-called meta-operators and hyper-operators, which extend the meaning of regular operators for working on a group of values.

In this chapter, we will cover the following topics:

  • Operator classification
  • Unary operators
  • Binary operators
  • Ternary operator
  • Bitwise operators
  • Miscellaneous operators
  • Operator precedence
  • Substitution meta-operators
  • Assignment meta-operators
  • Negation meta-operators
  • Reversed meta-operators
  • Creating hyper-operators
  • Types of hyper-operations
  • Reduction hyper-operators
  • Cross hyper-operators
  • Zip hyper-operator
  • Sequential hyper-operators
主站蜘蛛池模板: 太和县| 榆林市| 营山县| 永寿县| 九龙城区| 刚察县| 原阳县| 龙江县| 青川县| 衡阳县| 曲沃县| 邻水| 搜索| 胶州市| 西畴县| 六枝特区| 龙江县| 灌云县| 宝丰县| 容城县| 漠河县| 土默特右旗| 绵阳市| 保亭| 锡林浩特市| 北辰区| 南皮县| 桓台县| 文昌市| 筠连县| 无为县| 左云县| 扶风县| 高尔夫| 昌都县| 甘孜| 文昌市| 南汇区| 平谷区| 永登县| 佛山市|