File Coverage

blib/lib/Dist/Zilla/Role/PrereqSource.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package Dist::Zilla::Role::PrereqSource 6.037;
2             # ABSTRACT: something that registers prerequisites
3              
4 24     24   16226 use Moose::Role;
  24         60  
  24         257  
5             with 'Dist::Zilla::Role::Plugin';
6              
7 24     24   152728 use Dist::Zilla::Pragmas;
  24         57  
  24         233  
8              
9 24     24   198 use namespace::autoclean;
  24         66  
  24         285  
10              
11             #pod =head1 DESCRIPTION
12             #pod
13             #pod PrereqSource plugins have a C<register_prereqs> method that should register
14             #pod prereqs with the Dist::Zilla object.
15             #pod
16             #pod =cut
17              
18             requires 'register_prereqs';
19              
20             1;
21              
22             __END__
23              
24             =pod
25              
26             =encoding UTF-8
27              
28             =head1 NAME
29              
30             Dist::Zilla::Role::PrereqSource - something that registers prerequisites
31              
32             =head1 VERSION
33              
34             version 6.037
35              
36             =head1 DESCRIPTION
37              
38             PrereqSource plugins have a C<register_prereqs> method that should register
39             prereqs with the Dist::Zilla object.
40              
41             =head1 PERL VERSION
42              
43             This module should work on any version of perl still receiving updates from
44             the Perl 5 Porters. This means it should work on any version of perl
45             released in the last two to three years. (That is, if the most recently
46             released version is v5.40, then this module should work on both v5.40 and
47             v5.38.)
48              
49             Although it may work on older versions of perl, no guarantee is made that the
50             minimum required version will not be increased. The version may be increased
51             for any reason, and there is no promise that patches will be accepted to
52             lower the minimum required perl.
53              
54             =head1 AUTHOR
55              
56             Ricardo SIGNES 😏 <cpan@semiotic.systems>
57              
58             =head1 COPYRIGHT AND LICENSE
59              
60             This software is copyright (c) 2026 by Ricardo SIGNES.
61              
62             This is free software; you can redistribute it and/or modify it under
63             the same terms as the Perl 5 programming language system itself.
64              
65             =cut