% sudo perl -MCPAN -e shell
cpan> install Module::Foo
and I automatically follow prerequisites, I figure I'm already at the mercy of anyone who maintains the modules I already have. There's nothing preventing them from changing the Makefile.PL of their new release to drop my
Why do I want this? I'm working an hour a night on the next edition of the Perl Cookbook, and I'm doing SOAP stuff. I want to test code, which means I need SOAP::Lite installed, which means I need
--Nat
use a Bundle (Score:3, Informative)
Use autobundle from the list of the modules you want up to date and then just write a cheap script to install them into a temp and non-priv location if you don't want to run it as root. See the CPAN FAQ and the CPAN.pm docs :)
Reply to This
Easiest... (Score:1)
---ict / Spoon
Autoupdate oneliner (Score:1)
/usr/bin/perl -MCPAN -e 'CPAN::Shell->install(CPAN::Shell->r)'-- briac
24 strokes! (Score:2)
C<install> is exported by default, so you can just install(CPAN::Shell->r).
J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers