Skip to content

Commit 2dd4903

Browse files
committed
Added usage statements to C<push>
1 parent 7fb82bf commit 2dd4903

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/Type/Hash.pod

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,16 @@ is a C<List>.
106106
107107
=head2 method push
108108
109+
Defined as:
110+
109111
multi method push(Hash:D: *@new)
110112
113+
Usage:
114+
115+
push HASH, VALUES
116+
HASH.push(VALUES)
117+
HASH.push: (VALUES)
118+
111119
Adds the C<@new> elements to the hash with the same semantics as hash
112120
assignment, but with three exceptions:
113121

0 commit comments

Comments
 (0)