method value

Documentation for method value assembled from the following types:

class Pair

From Pair

(Pair) method value

Defined as:

multi method value(Pair:D:is rw

Returns the value part of the Pair.

my $p = (Perl => 6);
say $p.value# OUTPUT: «6␤»