Sah::Schemas::IntSeq - Sah schemas for various integer sequences
This document describes version 0.003 of Sah::Schemas::IntSeq (from Perl distribution Sah-Schemas-IntRange), released on 2021-07-17.
int_range
Integer range (sequence of ints/simple ranges), e.g. 1 / -5-7 / 1,10 / 1,5-7,10.
simple_int_range
Simple integer range, e.g. 1-10 / -2-7.
simple_int_seq
Simple integer sequence, e.g. 1,-3,12.
TODO: infinite sequence, e.g. '1,-2,3,-4,...'.
simple_uint_range
Simple unsigned integer range, e.g. 1-10.
simple_uint_seq
Simple unsigned integer sequence, e.g. 1,3,12.
TODO: infinite sequence, e.g. '1,2,3,...'.
uint_range
Unsigned integer range (sequence of uints/simple ranges), e.g. 1 / 5-7 / 1,10 / 1,5-7,10.
Please visit the project's homepage at https://metacpan.org/release/Sah-Schemas-IntRange.
Source repository is at https://github.com/perlancar/perl-Sah-Schemas-IntRange.
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.
Sah::PSchema::IntSeq which allows you to specify delimiter as well as min and max values for the whole range/sequence.
min
max
Sah::Schemas::Int
Sah - specification
Data::Sah
perlancar <perlancar@cpan.org>
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.
To install Sah::Schemas::IntRange, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sah::Schemas::IntRange
CPAN shell
perl -MCPAN -e shell install Sah::Schemas::IntRange
For more information on module installation, please visit the detailed CPAN module installation guide.