Steffen Schwigon <s...@renormalist.net> wrote:

>Hi!
>
>nimectos <tt4g-x...@dea.spamcon.org> writes:
>> My question is, how can I specify the desired version to the 
>> "cpan" command?  I didn't see how in "man cpan" or in the 
>> cpan.org FAQ.
>
>You could give the last part of the download link consisting of the
>AUTHOR name and the versioned filename:
>
>  cpan SHLOMIF/XML-LibXML-2.0002.tar.gz
>
>Admittedly you need to find out this name in advance on (meta)cpan.org
>because the author might be different per version.
>
Thank you very much, that got me past the problem - it turned out that
there were a few other modules I had to treat similarly.

Is there some other method - a way to tell the cpan command "I know that
your downloaded module lists will show newer versions, but pretend that
these versions are the latest for these modules"? I like to feed the same
long module list to cpan a second time and see that everything is already
installed properly but that doesn't work with the method above, it always
installs it again even if already installed.


Reply via email to