Skip to content

Commit f8a90ed

Browse files
committed
Document Pair.new
Addresses user's confusion about possible accepted args in: RT#131339: https://rt.perl.org/Ticket/Display.html?id=131339
1 parent 0901ff2 commit f8a90ed

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

doc/Type/Pair.pod6

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,15 @@ Any variable can be turned into a C<Pair> of its name and its value.
5050
5151
=head1 Methods
5252
53+
=head2 method new
54+
55+
Defined as:
56+
57+
multi method new(Pair: Mu $key, Mu $value)
58+
multi method new(Pair: Mu :$key, Mu :$value)
59+
60+
Constructs a new L<Pair> object.
61+
5362
=head2 method ACCEPTS
5463
5564
Defined as:

0 commit comments

Comments
 (0)