- Perl 6 Deep Dive
- Andrew Shitov
- 125字
- 2021-07-03 00:05:55
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
推薦閱讀
- JavaScript前端開(kāi)發(fā)模塊化教程
- 大學(xué)計(jì)算機(jī)基礎(chǔ)實(shí)驗(yàn)教程
- Azure IoT Development Cookbook
- 控糖控脂健康餐
- 體驗(yàn)設(shè)計(jì)原理:行為、情感和細(xì)節(jié)
- Learning SAP Analytics Cloud
- Web Application Development with R Using Shiny(Second Edition)
- 精通軟件性能測(cè)試與LoadRunner實(shí)戰(zhàn)(第2版)
- Implementing Cisco Networking Solutions
- 程序設(shè)計(jì)基礎(chǔ)教程:C語(yǔ)言
- R語(yǔ)言與網(wǎng)絡(luò)輿情處理
- Angular開(kāi)發(fā)入門(mén)與實(shí)戰(zhàn)
- Extending Puppet(Second Edition)
- 從零開(kāi)始學(xué)Linux編程
- Mastering Elixir