List::Util::WeightedRoundRobin is a utility for creating a weighted list based on the input and associated weights. WWW: https://metacpan.org/release/List-Util-WeightedRoundRobin