© J.J. Merelo 2019J.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. Merelo1
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 ...