Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Password Generation and Module Multiplication

by toolic (Bishop)
on Nov 22, 2010 at 21:05 UTC ( [id://873042]=note: print w/replies, xml ) Need Help??


in reply to Password Generation and Module Multiplication

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.

Replies are listed 'Best First'.
Re^2: Password Generation and Module Multiplication
by Orsmo (Beadle) on Nov 22, 2010 at 21:56 UTC
    Sorry, the code was not meant to be self contained, but merely illustrative. I'll add the use statement in the original post so as to make it more clear.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://873042]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-03-29 08:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found