in reply to How to use a private version of a published module?
Where is your mocked module in your distribution? I typically put them in inc/mock/ and then have the toolchain tell PAUSE not to index inc/. Last I heard the Makefile.PL way to do this is to add the following to the data you pass to WriteMakeFile():
META_ADD => { no_index => [ qw{ inc } ], },
My notes say this requires Module::Build version 6.4501 or higher.
The mechanism for Build.PL is similar.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to use a private version of a published module?
by MARKWIN (Novice) on Jun 19, 2021 at 19:14 UTC |