Una vez hemos visto que un módulo necesita actualización podemos actualizarlo con upgrade .
cpan[3]> upgrade Net::Server Package namespace installed latest in CPAN file Net::Server 0.96 0.97 RHANDOM/Net-Server-0.97.tar.gz Running install for module 'Net::Server' Running make for R/RH/RHANDOM/Net-Server-0.97.tar.gz CPAN: LWP::UserAgent loaded ok (v5.810) CPAN: Time::HiRes loaded ok (v1.86) Fetching with LWP: http://www.perl.org/CPAN/authors/id/R/RH/RHANDOM/Net-Server-0.97.tar.gz CPAN: Digest::SHA loaded ok (v5.45) Fetching with LWP: http://www.perl.org/CPAN/authors/id/R/RH/RHANDOM/CHECKSUMS Checksum for /root/.cpan/sources/authors/id/R/RH/RHANDOM/Net-Server-0.97.tar.gz ok Scanning cache /root/.cpan/build for sizes ........................................................................----DONE DEL(1/10): /root/.cpan/build/Encode-2.24-MsvFPh ................................................... DEL(3/10): /root/.cpan/build/Module-Starter-1.470-278pfH Net-Server-0.97/ Net-Server-0.97/t/ Net-Server-0.97/t/Server_PreFork.t Net-Server-0.97/t/UDP_test.t .................................... Net-Server-0.97/README CPAN: File::Temp loaded ok (v0.18) CPAN.pm: Going to build R/RH/RHANDOM/Net-Server-0.97.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Net::Server ............................................................... Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/Options.................ok ............................ All tests successful. Files=12, Tests=190, 2 wallclock secs ( 1.10 cusr + 0.20 csys = 1.30 CPU) RHANDOM/Net-Server-0.97.tar.gz /usr/bin/make test -- OK Running make install Installing /usr/local/share/perl/5.8.8/Net/Server.pm ..................................................... Appending installation info to /usr/lib/perl/5.8/perllocal.pod RHANDOM/Net-Server-0.97.tar.gz /usr/bin/make install -- OK cpan[4]>
Casiano Rodríguez León