Re: bundling multiple modules with Module::Build
[email protected] ("David Golden")
| Newsgroups | perl.module.build |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jul 9, 2008 at 9:05 AM, Ted Zlatanov <[email protected]> wrote: > Lingua::Slavic::Numbers > Lingua::BG::Numbers (requires Lingua::Slavic::Numbers but does not use inheritance) > (plus other Lingua::LL::Numbers for LL in (RU SR etc.)) > > Tests in t/ exercise both modules listed above. > > How to I write the build file for this? All the examples show how to do > it for one top module but I have two. Put them all in lib/ lib/Lingua/Slavic/Numbers.pm lib/Lingua/BG/Numbers.pm ... And make sure they are all in the MANIFEST file. In your Build.PL, the "module_name" just defines the main name that is used to create the distribution file and so on. But anything in lib/ will get included if they are in the MANIFEST. Regards, David