Hi Jed,

thanks for your insights. I may look into version.pm.

Regards,

        Shlomi Fish

On Sun, 31 May 2015 13:10:49 -0700
Jed Lund <jandrewl...@gmail.com> wrote:

> Shlomi Fish,
> 
> I have a personal preference for three dotted decimal versions for reasons
> not related to perl or programming.  I come from the old school hardware
> configuration control world and I treat the first position as feature
> changes with 0 as beta level, the second as bug fixes, and the third as
> documentation and or background code changes unrelated to form, fit, or
> function.  (Yes I know the hardware words don't translate one to one but I
> have some fuzzy analogies that I use).
> 
>  I have noticed that there is a preference in the perl world for pure
> numbers that look like numbers to be treatable as numbers meaning that
> there is only one decimal point.  My compromise has been to use the module
> version <https://metacpan.org/pod/distribution/version/lib/version.pm>.
> This way I can explicitly use the three dotted position callout for version
> but as a version string without some risk of the three dotted version being
> treated as a number.
> 
>     use version <https://metacpan.org/pod/version>; our $VERSION = qv(
> "v1.2.3");
> 
> In the background I suspect that it does load the global variable $VERSION
> as 1.002003 but I find this way more readable on the developers side. I
> also believe that it makes the development version of modules more visually
> consistent with general release versions.
> 
> use version <https://metacpan.org/pod/version>; our $VERSION = qv("v1.2_3");
> 
> Best Regards,
> 
> Jed
> 


-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Why I Love Perl - http://shlom.in/joy-of-perl

A kid always wishes they were older until they are 18. Afterwards, they always
wish they were younger.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

Reply via email to