perlquestion
kingkongrevenge
<p>boost::random for C++ has a bunch of classes for making random numbers with non-linear distributions: <a href="http://www.boost.org/libs/random/random-distributions.html"> docs</a>. You can get random numbers biased on a normal, triangle, or geometric distribution, for examples.
<p>I can only find linear and normal distribution type random distribution modules on CPAN. If the geometric distribution equivalent exists, I don't understand how I'm supposed to find it. Does it exist? If not I guess I might write my first CPAN module.