The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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

  • 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.

  • simple_uint_range

    Simple unsigned integer range, e.g. 1-10.

  • simple_uint_seq

    Simple unsigned integer sequence, e.g. 1,3,12.

  • uint_range

    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::Schemas::Int

Sah - specification

Data::Sah

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.