http://www.perlmonks.org?node_id=540505


in reply to RFC: Cribbage::Hand

The primary purpose of this meditation is to ask if people think there is a need for this on the CPAN.

Need? Probably not, but that's no reason not to release it.

I suspect the majority of people that might come across it are people who'd really rather be writing their own, but there'll be the occasional one that is happy to grab someone else's version so they can concentrate on making the cards look pretty.

It would help the former group, though, if the code was clear, and showed a clear link between the various aspects of hand-scoring and the code that handled each. Most potential users will not care about the speed as long as scoring 4 or 5 hands doesn't involve a noticeable (0.5s or so) delay.

Hugo