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

  • Perl 6 Deep Dive
  • Andrew Shitov
  • 124字
  • 2021-07-03 00:05:47

Working with Variables and Built-in Data Types

Perl 6 is a language with gradual typing. This means that you are not required to indicate the type of the variables you create: you may freely use the same variable to store data of different types. However, you may also create a typed variable and, in that case, the compiler will check the usage of that variable and make sure that the variable is only used in the operations allowed for that type.

In this chapter, we will first go through the built-in types of Perl 6 and, later, learn how to work with variables:

  • Built-in data types
  • Type hierarchy
  • Variables
  • Scalars, arrays and hashes
  • Object-oriented properties of data types
  • Simple and composite data types
主站蜘蛛池模板: 郑州市| 桃园县| 灵寿县| 青岛市| 封开县| 增城市| 宜丰县| 大悟县| 溧阳市| 达拉特旗| 道真| 镇沅| 建湖县| 铜鼓县| 丰宁| 合山市| 甘洛县| 长海县| 疏附县| 宁津县| 务川| 公主岭市| 罗平县| 靖宇县| 梁平县| 哈巴河县| 高淳县| 和静县| 土默特左旗| 英超| 崇阳县| 涞源县| 绥化市| 天柱县| 台中县| 万全县| 仙桃市| 德江县| 高台县| 泾阳县| 育儿|