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

  • Perl 6 Deep Dive
  • Andrew Shitov
  • 139字
  • 2021-07-03 00:05:55

Summary

In this chapter, we looked at an overview of the built-in data types in Perl 6 and learned how to work with variables. The most important fact is that variables in Perl 6 are instances of the different built-in data type classes. The details of those classes are located in Chapter 8, Object-Oriented Programming, but some elements of the object-oriented programming are needed to successfully create and use variables in Perl 6.

In the first part of the chapter, you learned three structural types of variable containers—scalars, arrays, and hashes—, and examined their main methods. In the second part, we took an in-depth look at different data types, such as integer, rational, floating-point numbers, strings, dates, and times.

In the next chapter, we will continue with observing the flow control in Perl 6 programs.

主站蜘蛛池模板: 辽中县| 同心县| 吴旗县| 涿鹿县| 迭部县| 泸定县| 天台县| 仁化县| 昌平区| 永兴县| 合作市| 京山县| 郯城县| 米泉市| 汾西县| 唐河县| 宝兴县| 康乐县| 东方市| 丘北县| 杭锦后旗| 桓台县| 凌海市| 余江县| 庆云县| 万全县| 定西市| 修文县| 济南市| 盘山县| 昭通市| 元氏县| 台北市| 会宁县| 麻栗坡县| 溆浦县| 孝义市| 分宜县| 噶尔县| 修水县| 宜君县|