I have a requirement to develop a group of Perl modules for in-house work. I would like all of them to be formed in to one family or suite of modules, rather than being separate.
For example, the suite would be something like:
MySuite::App::Module1
::Module2
MySuite::Env
MySuite::Utils::Logger
::Util2
I’ve gone through perlmodstyle, perlnewmod etc, but they all seem to focus on tips for developing individual modules. What are the tips/best-practices when it comes to developing/distributing a suite such as this? (the individual modules in the suite could be written by different developers)
It’s not much different than single-module distributions. Two additional established conventions are:
Place modules hierarchically in the
libdirectory.Pick a main module that becomes the distribution name. Your example looks like it should have an additional
lib/MySuite.pmwith package statementMySuiteand not much code and some entry point documentation. Assign this module asmodule_namein the Build.PL file.For more info on packaging in general, see:
Feedback/critique on your progress is available from:
#toolchainon the MagNET