- Perl 6 Deep Dive
- Andrew Shitov
- 174字
- 2021-07-03 00:05:49
Using simple built-in data types
Perl 6 comes with a number of various built-in types that cover the common range of things, such as Booleans, integers, and strings, but also offers unusual data types. We will cover them in this section. To demonstrate the built-in types, we will print them to the console using the say function, as we did in the ‘Hello, World!’ example.

The hierarchy is built using two types of items: roles and classes. Roles are drawn in ovals, while classes are rectangle boxes. Roles are similar to interfaces in some programming languages. In this chapter, we won't focus on the details of what is a role or a class. You can learn that in detail in Chapter 8, Object-Oriented Programming. For now, we will assume that you have some basic understanding of object-oriented programming and will be able to understand the hierarchy of the data types.
In the following sections of this chapter, we will go through the main data types that you may use in your practice.
- Django+Vue.js商城項目實戰
- JavaScript前端開發模塊化教程
- SOA實踐
- GeoServer Cookbook
- iOS開發實戰:從零基礎到App Store上架
- Mastering PHP Design Patterns
- 嚴密系統設計:方法、趨勢與挑戰
- Spring MVC+MyBatis開發從入門到項目實踐(超值版)
- Node.js 12實戰
- 平面設計經典案例教程:CorelDRAW X6
- Deep Learning for Natural Language Processing
- After Effects CC技術大全
- Java Script從入門到精通(第5版)
- 移動智能系統測試原理與實踐
- C#編程魔法書