Help for this page

Select Code to Download


  1. or download this
    use strict;
    my %suits;
    ...
            $suits{$1}++ if /(hearts|clubs|spades|diamonds)/;
    }
    print ($_ . "\n") x $suits{$_} for (keys %suits);