Sah::Schema::posint - Positive integer (1, 2, ...)
This document describes version 0.073 of Sah::Schema::posint (from Perl distribution Sah-Schemas-Int), released on 2020-03-02.
Sample data:
1 # valid 0 # INVALID -1 # INVALID
Zero is not included in this schema because zero is neither positive nor negative. See also uint for integers that start from 0.
uint
Please visit the project's homepage at https://metacpan.org/release/Sah-Schemas-Int.
Source repository is at https://github.com/perlancar/perl-Sah-Schemas-Int.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Sah-Schemas-Int
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.
perlancar <perlancar@cpan.org>
This software is copyright (c) 2020, 2018, 2017, 2016, 2014 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::Int, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sah::Schemas::Int
CPAN shell
perl -MCPAN -e shell install Sah::Schemas::Int
For more information on module installation, please visit the detailed CPAN module installation guide.