[CentOS] scripting CPAN installs

Fri Apr 16 13:32:56 UTC 2010
Tomas Ruprich <ruprich at uikt.mendelu.cz>

Sorry, sent too soon.
As for your problem with not knowing if the module was succesfully 
installed... i went around by trying use/require and printing version 
after each install.

Tomas


Fri, Apr 16, 2010 ve 03:26:16PM +0200, Tomas Ruprich napsal:
> Hi,
> i don't know exactly if this would be usable for yourself, but very nice
> feature for our purposes is autobundling, see for example:
> http://search.cpan.org/~andk/CPAN-1.9402/lib/CPAN.pm#POPULATE_AN_INSTALLATION_WITH_LOTS_OF_MODULES
> or
> http://www.developertutorials.com/tutorials/cgi-perl/automate-perl-module-deployment-050426/page4.html
> 
> 
> As for RPMs, it could be sometimes problem with versions. RPMs aren't
> often the most recent versions of modules and resolving RPM dependencies
> could sometimes overwrite the most uptodate versions (which you need) by
> slightly older which may not be applicable. But this really depends...
> 
> 
> Tomas
> 
> 
> Thu, Apr 15, 2010 ve 04:23:32PM -0400, Alan McKay napsal:
> > Hey folks,
> > 
> > Maybe there is a Perl/CPAN list that is a better place to ask this?
> > If so, maybe someone can point me to it.
> > 
> > Anyway, I want to be able to script the installation of a bunch of
> > CPAN modules, and the first basic problem I am coming up against is
> > that the "cpan" command seems to always return 0 regardless of whether
> > or not the install completed.
> > 
> > Google does not bring up a whole lot of help for me here, but I have
> > to think this problem has already been solved.
> > 
> > Thanks for any guidance you can give.
> > 
> > -Alan
> > 
> > -- 
> > ?Don't eat anything you've ever seen advertised on TV?
> >          - Michael Pollan, author of "In Defense of Food"
> > _______________________________________________
> > CentOS mailing list
> > CentOS at centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos