Hi Eric,

On Sat, 24 Dec 2011 20:23:17 -0500
Eric James Michael Ritz <lobbyjo...@gmail.com> wrote:

> Hello everyone.
> 
> Here is my question: What is the preferred way to test a system for
> installed modules?  For example, I have a Perl program I would like to
> distribute.  It depends on a number of modules from CPAN and I would
> like an easy way to test for the existence of those modules.  I
> suppose the user could always run the program and then install them
> whenever he gets an error about the packages not being found, but it
> feels like there should be a friendlier way to address that.
> 
> Is there a common way in Perl to say, “This program depends on these
> packages and requires them to be installed before running?”  And if
> so, is there a common, automated way to prompt the user to install any
> of those missing packages?
> 

Yes, there is. See:

* http://search.cpan.org/dist/Module-Build/

* http://search.cpan.org/dist/Module-Install/

* http://search.cpan.org/dist/ExtUtils-MakeMaker/

Regards,

        Shlomi Fish

> Thanks in advanced and happy holidays everyone!
> 
> --
> ejmr
> 南無妙法蓮華經
> 
> 



-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Freecell Solver - http://fc-solve.shlomifish.org/

You can never truly appreciate The Gilmore Girls until you’ve watched it in
the original Klingon.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to