# build a hash of card names to point values my %points = @deck Z @( (2..10, 10, 10, 10, 11) >>xx>> 4 ); (2..10, 10, 10, 10, 11) >>xx>> 4continued...
Perl 6 | Cool operators in Perl 6 | #15 |
# build a hash of card names to point values my %points = @deck Z @( (2..10, 10, 10, 10, 11) >>xx>> 4 ); (2..10, 10, 10, 10, 11) >>xx>> 4continued...
Copyright © 2009 http://www.pmichaud.com/2009/pres/ |