Keep It Simple, Stupid | |
PerlMonks |
Module Naming Adviceby jk2addict (Chaplain) |
on Feb 22, 2005 at 18:19 UTC ( [id://433439]=perlquestion: print w/replies, xml ) | Need Help?? |
jk2addict has asked for the wisdom of the Perl Monks concerning the following question: Here's the nugget in the back on my brainpan today. I'm working on a project in which I need to create uuid/guid strings. This currently involves some Makefile.PL and module hackery jiggery pokery because some uuid modules don't compile on windows, and some don't work on non windows. All code quality aside, this roughly equates to:
As part of the refactoring process, I'd like to move all of this into a seperate module that Does The Right thing based on what is installed, and then only one module is needed in PREQ_PM. Maybe I'm reading to much into it, but I think such a module that would abstract out which uuid core is being used might be useful to others on CPAN. As usual, the code is easy, but I'm having a hard time coming up with an appropriate module namespace/name for said module. Any suggestions? Is it even worth it to others to have such a generic wrapper?
Back to
Seekers of Perl Wisdom
|
|