Re: [Module::Build] .PL files && Module::Build
Status: Beta
Brought to you by:
kwilliams
|
From: Ken W. <ke...@ma...> - 2004-01-18 15:20:20
|
On Thursday, January 15, 2004, at 09:01 AM, Jaap Karssenberg wrote: > Greetings, > > I'm trying to move a rather large package to Module::Build. It has > lot's > of custom built-time config so I moved away from MM a while ago and > have > used a hack for a while. > > I have to rely on .PL files a lot now to do config stuff and I was > wondering whether there is an interface in Module::Build to get build > variables. Basicly I want to know the run-time equivalent of the > contents of _build/build_params. The hack would be to read build_params > myself, but this won't be portable I guess; By "run-time", do you mean during "Build test", or after the module is installed? If it's the former, you can use the Module::Build->current() method, then use the interface of the returned object. If it's the latter, M::B currently doesn't have much to help in this area. -Ken |