Re: Updating installed modules?
- From: Andy Hassall <andy@xxxxxxxxxxx>
- Date: Wed, 28 Jun 2006 19:57:58 +0100
On Wed, 28 Jun 2006 09:25:57 GMT, Jim Ford <jaford@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
Andy Hassall wrote:
On Fri, 23 Jun 2006 07:36:45 GMT, Jim Ford <jaford@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
Is there a way to update installed modules? Cpan only seems to offer
checking for updates and then manually reinstalling.
http://search.cpan.org/~andk/CPAN-1.87/lib/CPAN.pm#Programmer%27s_interface
perl -MCPAN -e 'CPAN::Shell->install(CPAN::Shell->r)'
Thanks - it did the trick. Is there a 'flag' I can use to accept all the
default 'yesess and nos'? I had a lot of moldules that needed updating
and I had to keep checking to see if a response was required from me.
There's inactivity_timeout, although this cancels installation if it's waiting
for input, so that's not really what you want.
I can't remember off the top of my head whether it accepts defaults, cancels,
or hangs when the process doesn't have a terminal, e.g. it's being run under
cron.
--
Andy Hassall :: andy@xxxxxxxxxxx :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
.
- Follow-Ups:
- Re: Updating installed modules?
- From: Steffen Netz
- Re: Updating installed modules?
- References:
- Updating installed modules?
- From: Jim Ford
- Re: Updating installed modules?
- From: Andy Hassall
- Re: Updating installed modules?
- From: Jim Ford
- Updating installed modules?
- Prev by Date: ImageMagick and Xitami jpeg/bmp issue
- Next by Date: Transition of CPAN to Perl6 ?
- Previous by thread: Re: Updating installed modules?
- Next by thread: Re: Updating installed modules?
- Index(es):