While updateing my OurNet-BBS CPAN dist's Makefile.PL, I run
into the need of several configure features related to
determining PREREQ_PM's value by default:

- letting user enable/disable optional dependencies.
- support sane defaults by probing for the machine's capability
- use CPAN.pm to download them on demand, whether inside a cpan
  install or not.
- enable/disable the associated tests automatically.
- request for specific dist versions instead of the newest.

Since I noticed several existing perl application shares similiar
functionalities (gbarr's modules springs to mind), I wonder if
it's possible to collect such features into a simple interface.

Hence, I wrote ExtUtils::AutoInstall as a proof-of-concept, and
released OurNet::BBS along with it (there's a newer version at
http://www.autrijus.org/AutoInstall.pm). But it makes little
sense to release it as a CPAN package, since it must be installed
*before* the execution of Makefile.PL, which is beyond my knowledge
of the CPAN shell's functionality.

However, supplying it with each and every module, like the case 
with Test::More a while ago, would be very inconvenient.

So I turn to this list for advices. :) Is this simply a bad idea,
or are there better options that I overlooked?

Thanks in advance,

/Autrijus/

Attachment: msg00160/pgp00000.pgp
Description: PGP signature

Reply via email to