I wrote M::R::OO::N, but I now recommend Jerry Hedden's Math::Random::MT::Auto instead. It's faster, more robust and supports more types of distributions.
Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.