NAME
Sah::Schemas::IntRange - Sah schemas for various integer ranges
VERSION
This document describes version 0.004 of Sah::Schemas::IntRange (from Perl distribution Sah-Schemas-IntRange), released on 2021-07-17.
SAH SCHEMAS
-
Integer range (sequence of ints/simple ranges), e.g. 1 / -5-7 / 1,10 / 1,5-7,10.
-
Simple integer range, e.g. 1-10 / -2-7.
-
Simple integer sequence, e.g. 1,-3,12.
-
Simple unsigned integer range, e.g. 1-10.
-
Simple unsigned integer sequence, e.g. 1,3,12.
-
Unsigned integer range (sequence of uints/simple ranges), e.g. 1 / 5-7 / 1,10 / 1,5-7,10.
HOMEPAGE
Please visit the project's homepage at https://metacpan.org/release/Sah-Schemas-IntRange.
SOURCE
Source repository is at https://github.com/perlancar/perl-Sah-Schemas-IntRange.
BUGS
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Sah-Schemas-IntRange
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
Sah::PSchema::IntRange which allows you to specify min
and max
values as well for the whole range.
Sah - specification
AUTHOR
perlancar <perlancar@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2021 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.