Re: install the prerequisite module automatically

2011-08-05 Thread Dermot
On 5 August 2011 10:28, Feng He wrote: > On Fri, Aug 5, 2011 at 4:36 PM, Dermot wrote: > Thanks. > Do you mean this section in Makefile.PL? > >    PREREQ_PM => { >        'Test::More' => 0, >    }, > > Regards. Yes. That's the form you will see if you use module-starter. You may also come acros

Re: install the prerequisite module automatically

2011-08-05 Thread Feng He
On Fri, Aug 5, 2011 at 4:36 PM, Dermot wrote: > If the Makefile.PL for you module has "requires MIME::Lite" in then > the end user will get a warning about the lack of a dependency. You > can not force the required modules to install on an end user's > machine. That will be down to how the end us

Re: install the prerequisite module automatically

2011-08-05 Thread Dermot
On 5 August 2011 02:12, Feng He wrote: > Hi, > > I have wrote a module and released it with module-starter. > (http://search.cpan.org/~xsawyerx/Module-Starter-1.58/lib/Module/Starter.pm) > > When I install it from the CPAN shell, how can I make the shell > install the prerequisite modules automati