File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 6
6
7
7
class Map does Associative is Iterable { }
8
8
9
- An Map is an immutable mapping from string keys to values of arbitrary
9
+ A Map is an immutable mapping from string keys to values of arbitrary
10
10
types. It serves as a base class for L < Hash > , which is mutable.
11
11
12
- In list context an Map behaves as a list of L < Pair > objects.
12
+ In list context a Map behaves as a list of L < Pair > objects.
13
13
14
14
Note that the order in which keys, values and pairs are retrieved is
15
15
generally arbitrary, but the C < keys > , C < values > and C < pairs > methods
@@ -81,7 +81,7 @@ operator:
81
81
82
82
my $value = $map{$key};
83
83
84
- To check whether a given key is stored in an Map, modify the access
84
+ To check whether a given key is stored in a Map, modify the access
85
85
with the C < :exists > adverb:
86
86
87
87
if %h{$key}:exists {
You can’t perform that action at this time.
0 commit comments