NAME
Version::Monotonic - Utility routines related to monotonic versioning
VERSION
This document describes version 1.100 of Version::Monotonic (from Perl distribution Version-Monotonic), released on 2016-05-20.
SYNOPSIS
use Version::Monotonic qw(
valid_version
inc_version
);
say valid_version("0.1"); # => 0
say valid_version("1.01"); # => 0
say valid_version("1.1"); # => 1
say inc_version("1.9"); # => "1.10"
say inc_version("1.9", 1); # => "2.10"
DESCRIPTION
This module provides utility routines related to monotonic versioning (see link to the manifesto in "SEE ALSO").
FUNCTIONS
None exported by default, but they are exportable.
valid_version($v) => bool
Check whether string $v
contains a valid monotonic version number.
inc_version($v, $inc_compat) => str
Return version number $v
incremented by one release. Die if $v
is invalid.
HOMEPAGE
Please visit the project's homepage at https://metacpan.org/release/Version-Monotonic.
SOURCE
Source repository is at https://github.com/perlancar/perl-Version-Monotonic.
BUGS
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Version-Monotonic
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
SEE ALSO
http://blog.appliedcompscilab.com/monotonic_versioning_manifesto/
AUTHOR
perlancar <perlancar@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2016 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.