Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
> While I think that converting "0.0.3" to "0.000003"
> isn't the correct way

It's the official way. Please read perldoc version.

> it thinks that "0.2" is a newer version than "0.11",
> because it considers "0.2" to be a short hand for "0.002"
> and "0.11"

Wrong. It considers 0.2 > 0.11 because perl does:

% perl -le 'print 0.2 > 0.11 ? "T" : "F"'

> most people will consider "0.01" to be a newer release
> than "0.0.3".

Thank you! I couldn't agree more!

> I would consider "0.01" and "0.1.0" to be equivalent

Sorry, the factor 1000 has been chosen to be the perl mapping for each dot in the version string.

> I suggest you keep 0.01 in your CPAN dir, and name your
> new release "0.1.3", or "0.2.3"

Sorry, it would have to be at least a little bit more than 0.10.0, because 0.10.0 is the equivalent of 0.010000 and as such is exactly numerically equal to 0.01.

In reply to Re^2: Can't use three part version number for CPAN modules by Anonymous Monk
in thread Can't use three part version number for CPAN modules by arc_of_descent

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others pondering the Monastery: (7)
    As of 2021-01-20 14:08 GMT
    Find Nodes?
      Voting Booth?