The .invert method
$g.value».invert».fmt(" %-32s %s");
$g.value is the array of "email => name" pairs for the current key
.invert inverts a Pair to be .value => .key
».invert inverts a list of Pairs
Perl 6 | Cool Perl 6 | #38 |
$g.value».invert».fmt(" %-32s %s");
$g.value is the array of "email => name" pairs for the current key
.invert inverts a Pair to be .value => .key
».invert inverts a list of Pairs
Copyright © 2010 http://www.pmichaud.com/2010/pres/ |