Domanda

I'm starting to use Module::Build. During the build process I need to do value substitution in some files - changing paths based on installation location etc.

Cannot find anything in Module::Build documentation. I understand that I can extend Module::Build to do nearly anything, but is there some standard way how to do this?

È stato utile?

Soluzione

Create a Module::Build subclass and add an action to process your template. Override the appropriate targets to make that step a dependency. Start with Module::Build::Cookbook.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top