NAME
Pandoc::Version - Pandoc version number
DESCRIPTION
Instances of Pandoc::Version store version number of pandoc executable or other libraries to be used with module Pandoc. Each version number is a non-empty array reference of non-negative integer values.
METHODS
string
Return a string representation of a version, for instance "1.17.0.4". This method is automatically called in string context.
number
Return a number representation of a version, for instance 1.017000004. This method is automatically called in number context.
cmp
Compare two version numbers. This is method is used to compare version objects with operators eq, lt, le, ge, ==, <, >, <=, and >=.
TO_JSON
Return an array reference of the version number.
SEE ALSO
See module version.