Re: version-0.77 and You

John Peacock <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.module-build,gmane.comp.lang.perl.perl5.porters
Message-ID <[email protected]>
Gisle Aas wrote:
> I think the term "dotted-decimal" is pretty confusing, especially when
> what you contrast that with is "decimal version numbers" (which includes
> a dot).  I suggest you call it "integers separated by dots" or
> "dotted-integers" for short.

They used to be fevered to as "numeric" and "extended" versions; I think
the decimal and dotted-decimal are a vast improvement (thanks David!).
I don't think "dotted-integer" is quite as good, if only because it has
no poetic flow.

> In the section about declaring versions in the traditional way (using
> decimal $VERSION) I suggest it's presented in the string form:
> 
>    our $VERSION = "1.02";
> 
> This is the recommended form as you don't get surprises when the version
> number turns into "1.10".

Except that form (quoted) is wrong.  There is still code that assumes
that $VERSION contains a number, not a string, and will barf.  You can
get away with that with version objects, but not plain old numeric.  It
also makes it hard for people to remember that on a 'use' line, you must
not quote it.

John
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.