Course of Raku / Advanced / Containers
Understanding Raku containers
Containers in the Raku programming language serve to keep data, but their role and meaning are deeper and wider than simply being a variable. This section gives an overview of the different container types available to a Raku developer.
It is important to understand the concept of containers. Without it, it may seem surprising that in some cases a program appears to use a scalar where you expected an array, or the other way around.
Different containers can host data of a different nature, of a different size, or even a different number of data items. Correspondingly, each type of container has its own methods to manipulate the data it holds.
Course navigation
← Containers | Scalar containers →