develooper Front page | perl.qa | Postings from May 2011

Re: RFC: Private CPAN In A Box

Thread Previous | Thread Next
From:
David Golden
Date:
May 24, 2011 03:04
Subject:
Re: RFC: Private CPAN In A Box
Message ID:
BANLkTi=-3rL5WO6RS2VvmTH9y9Js1gWXcg@mail.gmail.com
On Mon, May 23, 2011 at 8:38 PM, Cosimo Streppone <cosimo@streppone.it> wrote:
> I say:
>
>   "prereqs" : {
>      ...
>      "runtime" : {
>         "requires" : {
>            "Net::Ping" : "<= 2.35"
>         }
>      },
>      ...
>   },
>
> Where current Net::Ping on CPAN is 2.36,
> than this will install Net::Ping 2.35 as
> prerequisite?
>
> Or, if Net::Ping on the system is already 2.36
> it will refuse to proceed?

I think the current CPAN clients will all refuse to proceed.  This is
what I meant when I said that version ranges don't accomplish the goal
because the computer can't know what the right thing to do is.

-- David

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About