Course of Raku / Essentials

Associative data types

Associative data types are aggregate data types that keep multiple elements and support access based on names. In this part of the course, we examine the basics of two such types in Raku: pairs and hashes.

Exercises

This section contains 6 exercises. Examine all the topics of this section before going to the coding practice.

  1. Salary raise
  2. Seen before?
  3. Country codes
  4. Replace with antonyms
  5. Purchase table
  6. Travel distance*

Course navigation

Positional data types / Subscripting ranges   |   Pairs

Translations of this page: EnglishDeutschEspañolItalianoLatviešuNederlandsБългарскиРусскийУкраїнська