Sah/Schema/perl/modname/default_this_mod.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/modargs.pm ↑ Summary Sah/Schema/perl/modname/installed.pm »
1 package Sah::Schema::perl::modname::default_this_mod;
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 = ['perl::modname' => {
12 summary => 'Perl module, defaults to "this module"',
13 description => <<'_',
14  
15 See <pm:App::ThisDist>'s `this_mod()` for more details on how "this module" is
16 determined. Note that `App::ThisDist` is not added as dependency automatically;
17 you will have to add it manually.
18  
19 Note: be careful when using this schema for actions that are destructive to a
20 Perl module or that change some things, because a user can perform those actions
21 without giving an argument (e.g. a `delete-module` script). It is safer to use
22 this schema to perform a non=destructive action (e.g. `man-module`) and/or
23 operate in dry-run mode by default.
24  
25 _
26  
27 'x.perl.default_value_rules' => [
28 'Perl::this_mod',
29 ],
30  
31 examples => [
32 ],
33  
34 }];
35  
36 1 1;
37 # ABSTRACT: Perl module, defaults to "this module"
38  
39 __END__
« Sah/Schema/perl/modargs.pm ↑ Summary Sah/Schema/perl/modname/installed.pm »