Johan Vromans wrote: > Ken Williams <[EMAIL PROTECTED]> writes: > >> My intention when I added 'build_requires' to Module::Build was not >> to let people avoid downloading & building those dependencies, but >> rather to indicate that there was no runtime dependency, ... > > For this to function properly, the 'build_requires' modules (and their > respecitve dependencies!) should all be downloaded and installed in a > temporary location (e.g., blib) and not be installed permanently.
This is what Module::Install does when you use 'auto_include'. What I've done for recent modules is to bundle Test::Depends by making it the only build_requires line. Then, from the test scripts I can just; use Test::Depends qw(Some::Module), Other::Module => [ @import_args ]; Of course it means that the test suite doesn't get run fully, but I think the output makes that obvious enough. Sam.