Dominique Quatravaux wrote:
Chromatic already provided a good answer: create a derivative class of Module::Build in your Build.PL, see SUBCLASSING in Module::Build's POD documentation.
Yeah, I think that's the way to go. I was just wondering if there was something out-of-the-box to save me the effort. Couldn't see anything in the docs, but....
<shameless plug> Or, you could use Pod::Snippets, which doesn't require temporary files and allows you to single-step through the POD with the debugger (yow!). Pod::Snippets works from an ordinary .t file (although TIMTOWTDI). </shameless plug>
Mm. I'd rather not have to embed Pod::Snippets in my distribution (that seems excessive somehow) or make it a build prereq. Test::Pod::Snippets does what I need, I just want it to do it at a particular time. Subclassing seems to be the way to go.
Thanks, Ian