Re: [Module-build-general] Question about Defaults ...
Status: Beta
Brought to you by:
kwilliams
|
From: Michael G S. <sc...@po...> - 2003-03-19 20:09:19
|
On Fri, Mar 14, 2003 at 12:45:17PM -0600, Dave Rolsky wrote: > > Since I think this is a very good approach, I started to look into > > your module if I could convert to your way of installing. > > Unfortunately I found out that you are expecting all module files (.pm > > or .xs) sitting in the directory "lib/". But this directory structure > > is not the default structure when you are starting your development by > > using "h2xs". > > h2xs for module creation needs to die along with MakeMaker ;) Seconded. > > My question is, what is the reason for this requirement ? And is > > there a possibility to switch off this behavior ? Of course, I know > > how to accomplish your requirement :-). But this would mean that I > > have to fiddle about the directory structure after running the initial > > h2xs. > > I think Ken did this cause it's easy ;) For my $0.02, I've always felt all the alternative layout options in MakeMaker (I think there's three) are just unnecessarily confusing and complicated. I don't think Module::Build should bother. It might want to include some way to customize the behavior, probably via overriding the "find my modules" methods which are currently hard-coded in ACTION_build and ACTION_manifypods. That feels cleanest and actively improves the structure of M::B. -- A Significant Benefit To Canada |