On Fri, Jul 24, 2009 at 9:36 PM, John
Peacock<john.peac...@havurah-software.org> 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

Reply via email to