How do you select a random hash key? For my Flash+Perl card game I\'m trying to pick a random card from a hash where keys are: \"6 spades\", \"6 clubs\", etc. like this:
Somewhat more concise:
my $random_value = $hash{(keys %hash)[rand keys %hash]};