Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Is there a way to upgrade a module by one version level via cpan, but not the latest version?

by romandas (Pilgrim)
on Mar 29, 2010 at 04:14 UTC ( #831550=perlquestion: print w/ replies, xml ) Need Help??
romandas has asked for the wisdom of the Perl Monks concerning the following question:

I installed Strawberry Perl on a new XP workstation and tried to upgrade one of the modules that came with it, specifically DBM::Deep. The version installed is 1.0013, but I know that 1.0014 was released by rkinyon, so I'd like to upgrade to that. However, the latest version cpan finds is 1.0016.

Is there a way to have cpan upgrade by one version level? I'm not asking out of any affinity for 1.0014; I'm just curious if it can be done -- I couldn't find a way via cpan.

Comment on Is there a way to upgrade a module by one version level via cpan, but not the latest version?
Re: Is there a way to upgrade a module by one version level via cpan, but not the latest version?
by ikegami (Pope) on Mar 29, 2010 at 04:36 UTC
    You can get/make/test/install RKINYON/DBM-Deep-1.0014.tar.gz
      So then, the answer is no? :) There isn't a way to do it via the cpan commandline?

        "So then, the answer is no?

        No, the answer given works.

        "There isn't a way to do it via the cpan commandline?"

        Yes, as previously advised by ikegami:

        cpan> install RKINYON/DBM-Deep-1.0014.tar.gz

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://831550]
Approved by ikegami
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2015-07-07 04:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (87 votes), past polls