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

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
主站蜘蛛池模板: 淮安市| 定边县| 孝昌县| 剑河县| 会昌县| 霍州市| 肇源县| 郎溪县| 二手房| 聂拉木县| 西贡区| 西峡县| 大名县| 平安县| 靖西县| 六安市| 元朗区| 兴和县| 合川市| 托克逊县| 济源市| 祥云县| 维西| 许昌市| 两当县| 河曲县| 郁南县| 罗定市| 且末县| 龙江县| 黎川县| 陆河县| 治县。| 乐平市| 兴宁市| 泾源县| 蒙城县| 民和| 长宁县| 焦作市| 嘉荫县|