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

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
主站蜘蛛池模板: 莱州市| 澄迈县| 武山县| 开封县| 黔南| 万州区| 林周县| 石屏县| 西林县| 瑞安市| 旬阳县| 万宁市| 阜南县| 武宁县| 桑日县| 疏勒县| 固镇县| 云南省| 福建省| 博白县| 卢氏县| 会同县| 息烽县| 海宁市| 玉环县| 建宁县| 监利县| 马边| 墨脱县| 蓬莱市| 佛坪县| 南郑县| 怀柔区| 璧山县| 吉林省| 安西县| 石泉县| 隆林| 河南省| 华池县| 个旧市|