John Peacock wrote:
     version: 0.61.129
     version: v0.61.129

Personally I'm thinking the former but I'm not sure.

The version object code understands both to be the same value (i.e. with or without leading 'v'). The normal form for version objects is with the leading 'v', which is what you would get if you used $v->normal or $v->stringify with a multi-decimal version object, so I would actually prefer the leading 'v' for consistency.

I'd strongly suggest the former, since META.yml may be parsed by things that don't necessarily understand version objects and the "v" will make them numify as zero. E.g.:

  $ perl -e "$v = q{v2.61.129}; print 0+$v"
  0

It's not so great without the "v", but at least it's not zero.

David

Reply via email to