Course of Raku / Advanced / Operators / Types of Raku operators / Exercises
Subscript a hash
Problem
Create a hash with the pair a => 1, and read the
value under the key a using the postcircumfix
< > subscript operator. Print it.
Example
The program prints:
1Solution
Course navigation
← Solution: Boolean of a value | Solution: Subscript a hash →