[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: $VERSION in Opcode
On Fri, Sep 12, 2008 at 09:45:45PM +0100, Zefram wrote:
> Nicholas Clark wrote:
> >Does $VERSION = "1.06_01" work?
>
> I've had trouble with underscores in version numbers. IIRC it was
> specifically in listing versioned dependencies in Build.PL. I wouldn't be
> surprised if there are other tools that have trouble with it. The only
> thing that works 100% is $VERSION = "1.0601".
Memory says the "correct" thing to do is
$VERSION = "1.06_01";
eval $VERSION;
Module::Build::ModuleInfo is severely cracked out though, so it might still
get confused. However I don't believe there's any problem requiring 1.06
in that case.
For DBIx::Class et. al. we usually do something like 1.0699_01 for dev and
1.0700 for the final release - that way people can depend on 0699 before
the release but we don't run into the problem where dev releases don't
upgrade to production because 1.07_01 and 1.07 are both 1.07
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director http://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http://chainsawblues.vox.com/ http://www.shadowcat.co.uk/servers/
- Follow-Ups from:
-
John Peacock <john.peacock@havurah-software.org>
- References to:
-
Nicholas Clark <nick@ccl4.org>
"Rafael Garcia-Suarez" <rgarciasuarez@gmail.com>
Nicholas Clark <nick@ccl4.org>
Zefram <zefram@fysh.org>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]