This would print the hash in order -my %verb = ( 'To Move' => 'Zegi', 'To Break' => 'Loga', 'To Think' => 'Fzetra', );
How would I print it randomly every time?foreach my $verb (sort keys %verb) { print $verb; }
In reply to Randomize a Hash by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |