Re: [Module::Build] .PL files && Module::Build
Status: Beta
Brought to you by:
kwilliams
|
From: Jaap K. <j.g...@st...> - 2004-01-19 17:48:00
|
On Sun, 18 Jan 2004 09:20:19 -0600 Ken Williams wrote: : > 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. I need the former to "compile" values into my program so I can accomplish the later :) The Module::Build->current() method will do nicely, thanks. -- ) ( Jaap Karssenberg || Pardus [Larus] | |0| | : : http://pardus-larus.student.utwente.nl/~pardus | | |0| ) \ / ( |0|0|0| ",.*'*.," Proud owner of "Perl6 Essentials" 1st edition :) wannabe |