develooper Front page | perl.perl5.porters | Postings from May 2015

Re: [perl #124364] Some version strings in %Module::CoreList::deltacontain trailing space and cause warning with version->parse

Thread Previous | Thread Next
From:
Leon Timmermans
Date:
May 1, 2015 15:43
Subject:
Re: [perl #124364] Some version strings in %Module::CoreList::deltacontain trailing space and cause warning with version->parse
Message ID:
CAHhgV8gLugMp4121yvBrjpTAovmXPAAFcxvQg6RgWnoqLC=QOg@mail.gmail.com
On Mon, Apr 27, 2015 at 4:27 PM, Graham Knop via RT <
perlbug-followup@perl.org> wrote:

> These versions with spaces are an accurate representation of what the
> versions were defined as.  As an example, in perl 5.006,
> lib/ExtUtils/MM_Unix.pm, line 11:
>
> $VERSION = substr q$Revision: 1.12603 $, 10;
>
> This leaves a trailing space.
>

I would consider that an unhelpful artifact. Historically correct as it may
be, leaving it in only causes headaches and doesn't solve any problem I can
imagine.

Leon

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