in reply to Building a multi module project

Personally, I would keep Foo.pm and Foo/Bar.pm in the same distribution, if they are so closely tied together. I like to put my modules into a lib directory, so I'd have lib/Foo.pm and lib/Foo/Bar.pm.

For building/installing a distribution and its prerequisites, it pays off to have a Makefile.PL even for your internal distributions, because then cpan . or cpanm . Just Works and will install the prerequisites listed in this local Makefile.PL for you (as long as they are on CPAN or CPAN::Mini).

Replies are listed 'Best First'.
Re^2: Building a multi module project
by tj_thompson (Monk) on Jan 21, 2011 at 20:04 UTC
    I think the lightbulb clicked on. I was thinking that every module needed its own makefile. In reality, the distribution needs a makefile and all modules in that distribution will be in the distribution's lib directory. That makes a lot of sense. Thanks for the reply :)