2012/2/4 Alberto Simões <al...@alfarrabio.di.uminho.pt>:
> Basically, I depend on Parse::Yapp, and I would like to call `yapp` on
> Build.PL so I can have the generated .pm file before M::B generates all its
> data dir.
>
> In fact, I can add that to inc/MyBuilder.pm, but I am afraid the generated
> .pm will not be installed.
>
> But probably I am just too used to MakeMaker and M::B will work just fine :)

There are two ways to do this. You can do this early enough during
build, the PL_files feature would be the most obvious way.
Alternatively you can add Parse::Yapp to configure requires (no need
to add a check for that, it will die by itself if it's missing), but
that will crap out on legacy perls without having any obvious
advantages.

Leon

Reply via email to