Re: [Module-build-general] Question about Defaults ...
Status: Beta
Brought to you by:
kwilliams
|
From: Dave R. <au...@ur...> - 2003-03-14 18:46:46
|
On Fri, 14 Mar 2003, Norbert Gruener 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 ;) > 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 ;) Seriously, I'm sure he'd welcome support for alternate layouts. By default, I think it should look in lib/ and then the current directory for .pm and .pod files. With MakeMaker, there's also a way to map a different layout to the installation layout, using the PM option. I'm not sure this is really worthwhile, though. -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/ |