http://qs321.pair.com?node_id=267989


in reply to Pulling random elements from hash

Yet another way to do it:
print $hash{$_} for (sort {rand() <=> 0.5} keys %hash)

§ George Sherston