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

I'm running the CPAN module interactively to install Date::Simple. The latest version is 2.04, shown here:

http://search.cpan.org/author/JTOBEY/Date-Simple-2.04/lib/Date/Simple.pm
and that's the one I want. But CPAN is getting version 1.03 for me, from here:

ftp://ftp.perl.org/pub/CPAN/authors/id/K/KA/KASEI

Why?

I can't even figure out how to point CPAN at a local mirror, let alone see which version is on a particular server. Seen some mention of a urlist in the CPAN docs, but no mention of how to change it.

Any help would be much appreciated.

Cheers,

Eliot.

Replies are listed 'Best First'.
Re: cpan gets old version of module
by dempa (Friar) on Jan 30, 2003 at 13:52 UTC

    Changing the list of URLs:

    Start the CPAN shell and issue

    o conf urllist
    ...to see the urllist. Say you have one source and you want to replace it with another:

       o conf urllist pop
       o conf urllist push http://ftp.du.se/CPAN
       o conf commit
       reload index

    update: JTOBEY seems to have taken over development of Date::Simple, however KASEI's module (1.03) is still on CPAN. Issuing an "install JTOBEY/Date-Simple-2.04.tar.gz" seems to work. However, that will get you a specific version and not the latest...

    -- 
    dempa

      Hooray! Did both and I'm away laughing. One thousand thank yous for your timely response.

      Eliot.