© J.J. Merelo 2019
J.J. MereloPerl 6 Quick Syntax Referencehttps://doi.org/10.1007/978-1-4842-4956-7_5

5. Building Up Data

How Complex Data Is Built from Simple Data, and How to Work with It
J. J. Merelo
Granada, Spain
So far you have been dealing with simple data. In general, you will need to work with data that has some internal structure. You will deal with that in this chapter.
In this chapter, you will keep working with the command line; examples are intended to be typed into the REPL, either locally or in some other shape (as seen in Chapter 1).
In this chapter, you will explore two concepts that will be fleshed out later: class (or type) and role. A class describes how objects (or instances) of that class behave and which attributes they ...

Get Perl 6 Quick Syntax Reference: A Pocket Guide to the Language, the Core Modules, and the Community now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.