On 3/11/2012 8:41 AM, David Mertens wrote:
> The trick in your situation, which you may not know, if that you can
> have scripts that dynamically generates your module files at build
> time. Instead of Module.pm, you would have Module.pm.PL
> <http://Module.pm.PL>,.which will be run by ExtUtils::MakeMaker (or
> Module::Build). Then, if you can locate your lib at compile time, you
> could use this information to create the configuration options
> dynamically. 
Wow - that's exactly what I need!  Does MakeMaker just automatically run
anything named *.PL that it finds?  That's perfect!

Reply via email to