in reply to Hypergeometric Distribution

Searching CPAN for hypergeometric turns up a couple of things that look promising. Would any of those work for you?