in reply to How to include multiple modules in one package?

While I'm not sure it will make you comfortable, the documentation is in ExtUtils::MakeMaker. In practice I learn as much from examining other distributions as I have from reading the pod.

You'll want all of the modules and module directories to be in one tree, with your Makefile.PL in the root of that tree. When you call WriteMakefile, use either the PM or PMLIBDIRS attributes to specify the modules.

  • Comment on Re: How to include multiple modules in one package?

Replies are listed 'Best First'.
Testing Order?
by rrwo (Friar) on Feb 20, 2001 at 01:17 UTC

    I've gotten it to work with subdirectories in the tree, and including the subdirectory files in the MANIFEST file.

    One thing that irks me: the tests for the subdirectories are run after the root directory. In my case, the subdirectories contain base classes which the root needs. How can I control the order of testing?

      I'm not sure I follow. Are these the automatic tests (test.pl && t/*.t)?

      If so, the usual trick is to name the files t/00test.t, t/01test.t and so on to get make to run them in the order you want.