Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

cpan "r" command, of perl 5.15.9, does not show all of the installed modules

by Anonymous Monk
on May 15, 2012 at 11:51 UTC ( [id://970616]=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I recently installed perl 5.15.9 (a developer release). I am in process of installing various modules via cpan. I noticed that "r" command lists only a few modules ...

r Package namespace installed latest in CPAN file App::Cpan 1.5701 1.5902 DAGOLDEN/App-Cpan-1.590 +2.tar.gz Archive::Extract 0.58 0.60 BINGOS/Archive-Extract- +0.60.tar.gz Archive::Tar 1.82 1.84 BINGOS/Archive-Tar-1.84 +.tar.gz CPAN::Meta 2.120630 2.120921 DAGOLDEN/CPAN-Meta-2.12 +0921.tar.gz CPAN::Meta::Requirements 2.120630 2.122 DAGOLDEN/CPAN-Meta-Requ +irements-2.122.tar.gz CPAN::Meta::YAML 0.007 0.008 DAGOLDEN/CPAN-Meta-YAML +-0.008.tar.gz CPANPLUS 0.9121 0.9129 BINGOS/CPANPLUS-0.9129. +tar.gz Compress::Raw::Bzip2 2.048 2.052 PMQS/Compress-Raw-Bzip2 +-2.052.tar.gz Compress::Raw::Zlib 2.048 2.054 PMQS/Compress-Raw-Zlib- +2.054.tar.gz File::Fetch 0.32 0.34 BINGOS/File-Fetch-0.34. +tar.gz HTTP::Tiny 0.017 0.020 DAGOLDEN/HTTP-Tiny-0.02 +0.tar.gz IPC::Cmd 0.76 0.78 BINGOS/IPC-Cmd-0.78.tar +.gz Memoize 1.02 1.03 MJD/Memoize-1.03.tgz Module::Build 0.39_01 0.40 LEONT/Module-Build-0.40 +.tar.gz Module::Load::Conditional 0.46 0.50 BINGOS/Module-Load-Cond +itional-0.50.tar.gz Object::Accessor 0.42 0.44 BINGOS/Object-Accessor- +0.44.tar.gz Params::Check 0.32 0.36 BINGOS/Params-Check-0.3 +6.tar.gz Parse::CPAN::Meta 1.4402 1.4404 DAGOLDEN/Parse-CPAN-Met +a-1.4404.tar.gz PerlIO::via::QuotedPrint 0.06 0.07 ELIZABETH/PerlIO-via-Qu +otedPrint-0.07.tar.gz Safe 2.31 2.33 RGARCIA/Safe-2.33.tar.g +z Search::Dict 1.04 1.07 DAGOLDEN/Search-Dict-1. +07.tar.gz Socket 2.000 2.001 PEVANS/Socket-2.001.tar +.gz Term::ANSIColor 3.01 3.02 RRA/Term-ANSIColor-3.02 +.tar.gz autodie 2.10 2.11 PJF/autodie-2.11.tar.gz version 0.96 0.99 JPEACOCK/version-0.99.t +ar.gz Compress::Zlib 2.048 2.052 PMQS/IO-Compress-2.052. +tar.gz DynaLoader 1.14 1.15 NWCLARK/perl-5.8.6.tar. +gz Filter::Util::Call 1.40 1.43 RURBAN/Filter-1.43.tar. +gz JSON::PP::Boolean undef 2.27200 MAKAMAKA/JSON-PP-2.2720 +0.tar.gz 514 installed modules have no parsable version number they are Module = CPANPLUS::Backend (BINGOS/CPANPLUS-0.9129.tar.g +z) Module = CPANPLUS::Backend::RV (BINGOS/CPANPLUS-0.9129.tar.g +z) Module = CPANPLUS::Config (BINGOS/CPANPLUS-0.9129.tar.g +z) Module = CPANPLUS::Configure (BINGOS/CPANPLUS-0.9129.tar.g +z) Module = CPANPLUS::Configure::Setup (BINGOS/CPANPLUS-0.9129.t +ar.gz) Module = CPANPLUS::Dist (BINGOS/CPANPLUS-0.9129.tar.g +z) . . Module = Config (N/A) Module = DateTime::Locale::Base (DROLSKY/DateTime-Locale-0.45 +.tar.gz) Module = DateTime::Locale::Catalog (DROLSKY/DateTime-Locale-0 +.45.tar.gz) . . .

... some of the modules not listed are DateTime, Scalar::Util, Term::Read(Key|Line*). (These also do not appear in show_unparsable_version list.) Needless to say r /DateTime/ and r /./ also fail to show, e.g. DateTime, module version status.

Has anybody noticed this? Am I missing somthing?

Replies are listed 'Best First'.
Re: cpan "r" command, of perl 5.15.9, does not show all of the installed modules
by Anonymous Monk on May 15, 2012 at 13:22 UTC

    Per How do I get a list of installed CPAN modules? comments, it is not possible to list modules without more recent version via r command. Darts! (That leaves autobundle and other find-@INC hackery, which I wanted to avoid.)

    Oh well. :-/

      it is not possible to list modules without more recent version via r command.

      Considering that 5.15.9 has the latest version of cpan/r-command (CPAN-1.9800) what are you talking about?

        Install a latest version of a module; then see "r" omitting it in the list.

        Then again, I have answered the question myself earlier, and somebody else did too later in this thread.

Re: cpan "r" command, of perl 5.15.9, does not show all of the installed modules
by Anonymous Monk on May 15, 2012 at 19:22 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://970616]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2024-03-28 21:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found