MJ Ray wrote: > Lyle <[email protected]> wrote: > >> Is there a possible requisites you can define? So that when the module >> is built with cpan, it pauses asking if you want the extra modules >> installed and defaults to no if you don't respond is 30 seconds? >> > > I think the current answer is to use Module::Build or something other > than CPAN, or to not enable them in PREREQ_PM and to have some sort of > eval around any use statements to handle unavailability gracefully. >
I've evaled all the XS modules and created Pure Perl alternative subs to use if they can't be loaded. I've checked with the Module::Build mailing list and they do have a 'recommends' option, but it's not totally clear how it works. I'll have to do more testing, or just give in and be lazy, updating the docs to say "you might want to install these as well". > I also think the current answers are less portable than Makefile.PL > so it's still something that needs work. > > Any better solutions? I'd love to know. > > Thanks, > _______________________________________________ BristolBathPM mailing list [email protected] http://mailman.bristolbath.org/mailman/listinfo/bristolbathpm
