[CC'ing John <the version guru> Peacock]

John, I think we need your help here, see the story below. But in short we want to start using triplet versioning for modperl 2.0.x and we don't want to require version.pm, since so far we don't have any external dependencies. Can we do that? mp2 requires 5.6.1+.

Thanks.


Philippe M. Chiasson wrote:
[...]

Now versioning. First of all mp2 is going to be 2.0.x, since it looks like Apache 2.2 might be different enough that modperl-2.2.x will appear.
[...]
Yes, I think it's a good way to go about it. There remains the slight probability of trouble for 3rd party authors that have
bugs in their MP 2.0 detection code, but that's not a very big problem.


What do you mean? That:

  if ($mod_perl::VERSION > 1.99)

won't work for $mod_perl::VERSION = v2.0.0?

you are right that we need to play with the version numbers. I'm a bit confused at how we do the right triplet VERSION. According to:
http://search.cpan.org/dist/version/lib/version.pm#What_about_v-strings?


it should be:

  $x::VERSION = 2.2.1

but I can't even dump this value, with print.

version.pm is a part of the core only from 5.9.x, and we can't require it just to get the version number set.

I've also tried 2.002001 but it doesn't seem to make a very good work when used in conditionals.



--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to