Re: version-0.77 and You - Part 2

David Golden <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.module-build,gmane.comp.lang.perl.perl5.porters
Message-ID <[email protected]>
On Fri, Jul 24, 2009 at 9:36 PM, John
Peacock<[email protected]> wrote:
> HOWEVER, based on a discussion started on p5p by Nicolas, I enabled a
> warning if you try and use a v-string without the leading 'v' as a version
> object initialization.  This is a change in behavior [that I think is long
> overdue] that clarifies intent immensely and makes it much more likely that
> people will Do The Right Thing(TM) the first time.  I'll send a matching
> patch for blead (which should probably get pulled into 5.10.1 as well, now
> that I think about it) that enables this for all v-strings (not just used
> for version objects).
>
> Is it too late in the game to consider this option?

Yes.  I think so.

A syntax deprecation like that shouldn't happen as part a maintenance branch.

It should be deprecated in 5.12 and removed in 5.14.

So version.pm should not warn until perl does.  That's not my ideal
outcome, since I'm a big supporter of leading-v for a version tuple,
but I think it's the appropriate way to handle it.

-- David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.