I didn't see my original email show up in the datetime archives though I
tried twice, so I'll summarize some of the context

I had posted a question that was triggered by CPAN's interpretation
of version numbers in Date::ICal.

Recently I installed the Date::ICal module, and now
CPAN::Shell->r reports that the latest revision of
Date::ICal::Duration is 1.6 that I believe
is really older that the 1.10 that I have installed.

Package namespace         installed    latest  in CPAN file
Date::ICal::Duration           1.10       1.6  R/RB/RBOW/Date-ICal-1.61.tar.gz

The installed Date::ICal::Duration specifies it's version as:
    $VERSION = (qw'$Revision: 1.10 $')[1];

One example that is used in some of the perl distribution to format
Revision numbers uses sprintf like this:
    $VERSION      = sprintf("%d.%02d", q$Revision: 1.6 $ =~ /(\d+)\.(\d+)/);



On 15 Jan 2002 at 07:29 +0100, Andreas J. Koenig <[EMAIL PROTECTED]>...:

> From: Andreas J. Koenig <[EMAIL PROTECTED]>
> To: David Dyck <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
> Date: 15 Jan 2002 07:29:56 +0100
> Subject: Re: Version numbers in cpan index databases inconsistent with
>     Date::ICal
>
> Hi David,
>
> >>>>> On Mon, 14 Jan 2002 12:20:41 -0800 (PST), David Dyck <[EMAIL PROTECTED]> said:
>
>   > Is it up to the module authors to re-start their version numbers
>   > at version 2.10 when this inconsistency is detected?
>
> Yes. More precisely, they could start over around 1.90 or 1.900, etc.
>
>   > Are the sources for mldistwatch and other CPAN tools available?
>
> No, some are probably too sensitive.
>
>   > Where would the best place to add an exception list file to
>   > educate CPAN that the version numbers of some modules
>   > are 'RCS/CVS' based so they don't append a trailing zero?
>
> There are more version numbering schemes in use than one could
> reasonably support, somewhere you need to draw the line. For many
> years now $VERSION has been treated as floating point number.
>
>   > All thoughs and discussions appreciated
>
> perlmodlib.pod has been around for long, bleadperl also has
> perlmodstyle.pod. John Peacock is working very hard on getting
> v-string support for $VERSION in shape, *maybe* we can support these
> beasts fully some day.
>
> --
> andreas
>

Reply via email to