|
|
| Welcome to the Monastery | |
| PerlMonks |
Modulinos and CPAN-appropriatenessby krazyk (Beadle) |
| on Nov 15, 2007 at 16:54 UTC ( [id://651014]=perlquestion: print w/replies, xml ) | Need Help?? |
|
krazyk has asked for the wisdom of the Perl Monks concerning the following question:
Recently, I've been developing Modulinos (as introduced by brian d foy in Mastering Perl [1]). Sometimes they contain functions that might be generally useful elsewhere (in addition to being useful as programs). Other times, the Modulinos are potentially useful to others as programs, but not so special for any subs they may export. In my consideration of whether or not to release them on CPAN, I'd like some guidance from the Monks.
One such modulino has already been released -- App::Smbxfer. I believe this one to be very worthwhile, as its exported functions could be useful and it provides uniquely valuable program functionality. Others, however, don't seem as straightforward. For example, Linux::BootCleanup, a modulino to identify and archive files belonging to old kernels on a Linux system and to update bootloader menus accordingly. Though it might export a couple of functions, they are fairly trivial and would not independently warrant use of the module. Nonetheless, it is a useful piece of software, and as a modulino, it can utilize Perl's Test::* facilities, install in a standard way, etc. Also, the possibility exists that later versions may offer additional routines that would independently justify its use. So, do useful "Modulino-tools" belong on CPAN even if they aren't useful for the module side of their identity? [1] Mastering Perl (UPDATED to fix title as corrected by brian d foy)
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||||||||||