I believe that in your pm file, you probably had:
our $VERSION = 0.5.1;
which, when treated as a number, evaluates to 0. So ... you're using version 0.5.1 of the pm file, but the version of the object file is being evaluated as 0. Hence the "mismatch" error you've quoted. I've just tested this on one of my modules:
t/funcs....Math::M object version 0 does not match bootstrap parameter + v0.5.1 at C:/perl510_M/5.10.0/lib/DynaLoader.pm line 225.
If you do:
our $VERSION = 0.51;
(or 0.6, as I suggested trying), then you're using an actual number, and the mismatch won't arise. I've never used more than one '.' in any of my version numbers, so I'm not sure of the correct advice to give with respect to doing that. Maybe you want to use version; for that. I think it would also work out ok if you put the version number in quotes:
our $VERSION = '0.5.1';
But again, this is an area I haven't experimented much with.

Cheers,
Rob

In reply to Re^4: problem incrementing module version number by syphilis
in thread problem incrementing module version number by cmac

Title:
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, details, 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, summary, 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.