version#

Native implementation of the version module

Provides version object parsing, comparison, and stringification. The perl5 version module is XS-based — this native implementation provides the core methods needed by modules like experimental.

Supported API#

  • version->new("1.23") / version->new(v1.2.3)

  • version->parse("1.23")

  • version->declare("v1.2.3")

  • $v->numify / $v->stringify / $v->normal

  • $v->is_alpha / $v->is_qv

  • Comparison via <=> and cmp (overloaded)