[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl-module-build
Subject:    Re: bundling multiple modules with Module::Build
From:       "David Golden" <xdaveg () gmail ! com>
Date:       2008-07-09 16:03:48
Message-ID: 5d4beb40807090903u6e81b272nc80f3f26448ce041 () mail ! gmail ! com
[Download RAW message or body]

On Wed, Jul 9, 2008 at 9:05 AM, Ted Zlatanov <tzz@lifelogs.com> 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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic