<?xml version="1.0" encoding="windows-1252"?>
<node id="780293" title="Re: module version numbers" created="2009-07-15 08:50:52" updated="2009-07-15 08:50:52">
<type id="11">
note</type>
<author id="721227">
DStaal</author>
<data>
<field name="doctext">
&lt;p&gt;[mod://version] looks nice... If you are targeting Perl 5.9 or greater.  5.8 is still very common in the wild, which may be a reason many module authors avoid it.  (It's why I do.)  Of course, you can list [mod://version] as a dependency, but that adds another step to the install and complicates things for the user.&lt;/p&gt;

&lt;p&gt;I personally use the numeric X.YYZZ format, meaning version X.YY.ZZ, as the most compatible format at the moment.  (And I let ModuleMaker set it up in a BEGIN block, as that's easy.)&lt;/p&gt;

&lt;p&gt;Really, it comes down to: Pick whatever you feel comfortable with that doesn't cause problems for your users.  v-strings cause problems.  [mod://version] is a minor annoyance for anything earlier than 5.9.  Numeric seems to cause me the least amount of headaches, but that's me.&lt;/p&gt;</field>
<field name="root_node">
780275</field>
<field name="parent_node">
780275</field>
</data>
</node>
