Be careful on your next rev: in all likelyhood, you just went from a version of 0.005000 to 0.051000 (see version). If you go to 0.6 next time around, I am guessing that your version string will end up being 0.006000, which is a backward jump from 0.051000. I am guessing that you will need to go to 0.52 or higher.
| [reply] |
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 | [reply] [d/l] [select] |