Sah/Schema/perl/version.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 14 / 14 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Sah/Schema/perl/unqualified_funcname.pm ↑ Summary Sah/SchemaBundle/Perl.pm »
1 package Sah::Schema::perl::version;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
7 1 our $DATE = '2024-02-16'; # DATE
8 1 our $DIST = 'Sah-SchemaBundle-Perl'; # DIST
9 1 our $VERSION = '0.050'; # VERSION
10  
11 1 our $schema = [obj => {
12 summary => 'Perl version object',
13 description => <<'_',
14  
15 Use this schema if you want to accept a version object (see <pm:version>).
16 Coercion from string is provided.
17  
18 _
19 isa => 'version',
20 'x.perl.coerce_rules' => [
21 'From_str::perl_version',
22 ],
23 }];
24  
25 1 1;
26 # ABSTRACT: Perl version object
27  
28 __END__
« Sah/Schema/perl/unqualified_funcname.pm ↑ Summary Sah/SchemaBundle/Perl.pm »