in reply to Re: Randomly reassign hash keysin thread Randomly reassign hash keys
use List::Util qw(shuffle); use List::MoreUtils qw(zip); %hash = zip @{[shuffle keys %hash]}, @{[values %hash]}; [download]