Amias Channer wrote:
> On Sun, 2009-01-25 at 02:49 +0000, Lyle wrote:
>   
>> Hi All,
>>   Looking more at makefiles, in your Makefile.PL or Build.PL you have 
>> the usual pre-requisites in PREREQ_PM. But what if your Perl module 
>> requires other modules Only if certain features are used.
>>   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?
>>     
>
> Pretty sure i've seen people do both , i'd say that you should use you
> judgement , if the possible requisites are hard to install or
> unmaintained modules then no but if they are pure perl and show signs of
> active development then yes. test reports are good for helping you make
> this decision.
>
> hmmmmmm.......
>
> Would it really be all that evil to have the cpan module plugged into
> the module loading system ? my thinking being that it would be very
> cool if just running a perl script in an interactive shell would prompt
> you to fetch and install the modules it uses. These could be stored in
> a temp location or for the truely brave , systemwide .
>   

I guess you could also parse the cpan module output into HTML and use 
that mechanism through CGI... Not sure how easy this would be to setup 
though.


Lyle

_______________________________________________
BristolBathPM mailing list
[email protected]
http://mailman.bristolbath.org/mailman/listinfo/bristolbathpm

Reply via email to