Eric Wilhelm wrote: > The question may be whether the version.pm / CPAN code is honoring your > VERSION line correctly. Though, possibly that should be qv('v2.4.0'). > John?
I'd have to know what release of CPAN you are using, since those two version objects are equivalent. > If it compares a version object to your META.yml, I think that should be > good. If it is doing a string-compare, I think all bets are off. Andreas has been very good about making sure that CPAN and PAUSE work with version objects, so I suspect it is actually a back-versioned CPAN rather than Module::Build. > Aside: I'm thinking of changing most of my modules to simply say > "$VERSION = v0.1.2" just to see what breaks. So far, it appears to be > less of an issue than the version.pm docs imply, at least back to 5.6.2 > or so. Well, since 'use version' replaces UNIVERSAL::VERSION with version-aware code, you will find that now that code will actually work most of the time. The one problem you will have is that you won't be able to print the $VERSION scalar because it will be a v-string. And I don't know how well the PAUSE indexer will cope... John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Blvd Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747