in reply to Re^2: What I am missing here
in thread What I am missing here
Can go simpler...
sub deck_maker { map { my $suit = $_; map { "$_ of $suit" } 2..10, qw(J Q K A) } qw(spades hearts diamonds clubs); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: What I am missing here
by heatblazer (Scribe) on Mar 21, 2012 at 05:21 UTC | |
|
Re^4: What I am missing here
by tobyink (Canon) on Mar 23, 2012 at 22:44 UTC |