On 11/8/05, David Landgren <[EMAIL PROTECTED]> wrote: > >> Adam Kennedy wrote: > >>> Doesn't makemaker only like you if you have a single .pm file just in > >>> the root directory?
> >>> And otherwise you have to have your lib files actually under lib? > The trouble is... I *like* having the files in the root directory. > Having them in lib/foo is a real hassle (from a filename tab-completion > point of view). One can try to use the clunky MakeMaker PM parameter. use ExtUtils::MakeMaker; @PM_FILES = qw( Tree/Splay.pm Tree/Splay/Node.pm Tree/Splay/IntRange.pm ); %PM_FILES = map { $_ => "\${INST_LIBDIR}/$_" } @PM_FILES; # it is a hash ref with pairs like 'Tree/Splay.pm' => '${INST_LIBDIR}/Tree/Splay.pm' WriteMakefile( NAME => 'Tree::Splay', PM => \%PM_FILES );