Schema/natnum.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 10 / 10 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« Schema/int8.pm ↑ Summary Schema/negeven.pm »
1 package Sah::Schema::natnum;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
6 1 our $DATE = '2022-10-19'; # DATE
7 1 our $DIST = 'Sah-Schemas-Int'; # DIST
8 1 our $VERSION = '0.077'; # VERSION
9  
10 1 our $schema = ['posint', {
11 summary => 'Same as posint',
12 description => <<'_',
13  
14 Natural numbers are those used for counting and ordering. Some definitions, like
15 ISO 80000-2 begin the natural numbers with 0. But in this definition, natural
16 numbers start with 1. For integers that start at 0, see `uint`.
17  
18 _
19 }];
20  
21 1 1;
22 # ABSTRACT: Same as posint
23  
24 __END__
« Schema/int8.pm ↑ Summary Schema/negeven.pm »