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

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
主站蜘蛛池模板: 连南| 阳新县| 于都县| 财经| 樟树市| 孟村| 凤阳县| 大竹县| 渭源县| 大宁县| 庆安县| 塔河县| 永嘉县| 定陶县| 遂溪县| 云南省| 藁城市| 三江| 丹凤县| 卓尼县| 黄陵县| 临桂县| 津市市| 延津县| 冀州市| 长宁县| 合作市| 吴江市| 开远市| 新邵县| 鄂托克前旗| 徐水县| 甘德县| 阳东县| 化德县| 宜州市| 朝阳市| 新兴县| 于田县| 闵行区| 江油市|