tags:

views:

95

answers:

1

I use h2xs and Module::Starter to create templates for my Perl modules. All these and others like Module::Build are great for creating one-off modules. Unfortunately, I have not been able to figure out a "clean" way of creating a family of related modules and their documentation and test suite templates in one go.

Specfically, is it possible to create A::P, A::Q, A::R ... in a single invocation of h2xs or other starter tools, or even add A::Q, A::R once a template for A::P has been created?

+9  A: 

module-starter can be invoked thus, to create all the modules in a single invocation:

module-starter --author='Example Author' [email protected] --module=A::P --module=A::Q --module=A::R --distro='My-A-Module-Distro'
Alan Haggai Alavi
Thanks, this seems to do nicely. Any ideas how this couldbe done with h2xs?
Gurunandan
You are welcome. Sorry, I do not know how to achieve the same with `h2xs`.
Alan Haggai Alavi
this can't be done with h2xs.
ysth