Data::Random::Weighted - get weighted random data
version 0.001
Used to return random results from a weighted set.
my $rand = randomizer({ 5 => 'Result', 1 => 42, });
print &$rand;
.’│_.- .’ ’ /_ .-" -. ’> .- -. -. ’. / /│_ .-.--.-. ’ > / / (o( o( o ) \_." < ’-’-’’-’ ) < ( _.-’-. ._\. _\ ’----"/--.__.-) _- \│ AoS "V"" "V"
Russel Fisher <geistberg@gmail.com>
This software is copyright (c) 2014 by Russel Fisher.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Data::Random::Weighted, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Random::Weighted
CPAN shell
perl -MCPAN -e shell install Data::Random::Weighted
For more information on module installation, please visit the detailed CPAN module installation guide.