Your code is not self-contained. Are you using List::Util::shuffle
Do I try to incorporate my code into one of the existing modules and contribute a patch to the module maintainer?
Yes, especially if you use a similar coding style to that used by the current author and you supply tests to validate your new functionality.
Do I flesh mine out into a full module and add to the number of modules out there that meet an individual's needs but don't quite cover the bases for a majority?
This is another good choice if you feel your code is better in some way than existing modules (faster, easier to use, easier to install, etc.). You should explicitly describe in the module's POD what differentiates your module from others.
If you go this route, try to select a module name which is similar to other CPAN modules which perform a similar function. This of course requires more of a commitment because you will be responsible for supporting and maintaining the module.
Do I write a module that's backward compatible with the other modules but includes the solution for my own needs in the hope that I can reduce the number of modules that have multiplied out there so far?
Not necessarily. How do you think you will be able to reduce the number of CPAN modules?
Does CPAN module multiplication induce apathy and denial in anyone else, or is it just me?
The number of CPAN modules has thus far not affected me in that way.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||