in reply to cpan client problem with strawberry portable

Hi Lorenzo,

I see the same with 5.24.0 32bit, however, I think SDL is not installed. At least I don't find it in the Release Notes.
After installing it, cpan -D SDL reports "up to date".

Update: The problem seems to be cpan reporting "up to date" for any not installed module:
cpan> r Nonexisting::Module All modules are up to date for Nonexisting::Module
This is not restricted to Strawberry, just confirmed it on my hoster's Linux (System Perl, 5.20.something)

Update 2: What you want is probably cpan's i or m command:

cpan> m SDL Module id = SDL CPAN_USERID FROGGS (Tobias Leich <froggs@cpan.org>) CPAN_VERSION 2.546 CPAN_FILE F/FR/FROGGS/SDL-2.546.tar.gz UPLOAD_DATE 2015-04-27 INST_FILE (not installed)
(before installing it) versus (afterwards)
Module id = SDL CPAN_USERID FROGGS (Tobias Leich <froggs@cpan.org>) CPAN_VERSION 2.546 CPAN_FILE F/FR/FROGGS/SDL-2.546.tar.gz UPLOAD_DATE 2015-04-27 INST_FILE C:\Install\perl-5.24.0.1\perl\site\lib\SDL.pm INST_VERSION 2.546

Replies are listed 'Best First'.
Re^2: cpan client bug in 'r' command?
by Discipulus (Canon) on Nov 20, 2017 at 16:31 UTC
    Thanks soonix,

    I confirm that >cpan m SDL and the corrispective  CPAN::Shell->m('SDL') and also i works as expected.

    So the bug, if there is one as seems, is in the r command of cpan client and not a strawberry only issue.

    L*

    PS bug report filled

    PS 27 Dec 2018 bug fixed in 2.22 urrah!

    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
      Must be useful feature if the bug is 20yo, hahahhaha
        I find it useful. Sincerely i also remeber I had seen in the past r reporting correctly, but probably/evidently my memory fails.

        The presumed output of r command it's concise enough to be useful if you maintain many different distributions.

        What it's strange is that nobody noticed this before. Anyway i got a fast reply from the kind maintainer:

        > Thanks for the report! It's very nice to see a bug reported that is older than 20 years. Fixed in the repository in commit b5f9ae3c.

        L*

        PS if you, as me, do not understand the ironic Anonymous Monks's comment below look at a better link here

        There are no rules, there are no thumbs..
        Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.