Kit/Role/ManifestReader.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 14 / 14 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Kit/Role/Component.pm ↑ Summary Kit/Role/Renderer.pm »
1 package Email::MIME::Kit::Role::ManifestReader 3.000007;
2 # ABSTRACT: things that read kit manifests
3  
4 6 ▶use v5.20.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 6 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 6 with 'Email::MIME::Kit::Role::Component';
7  
8 #pod =head1 IMPLEMENTING
9 #pod
10 #pod This role also performs L<Email::MIME::Kit::Role::Component>.
11 #pod
12 #pod Classes implementing this role must provide a C<read_manifest> method, which is
13 #pod expected to locate and read a manifest for the kit. Classes implementing this
14 #pod role should probably include L<Email::MIME::Kit::Role::ManifestDesugarer>, too.
15 #pod
16 #pod =cut
17  
18 6 requires 'read_manifest';
19  
20 6 ▶no Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
21 6 1;
22  
23 __END__
24  
25 =pod
26  
27 =encoding UTF-8
28  
29 =head1 NAME
30  
31 Email::MIME::Kit::Role::ManifestReader - things that read kit manifests
32  
33 =head1 VERSION
34  
35 version 3.000007
36  
37 =head1 PERL VERSION
38  
39 This library should run on perls released even a long time ago. It should work
40 on any version of perl released in the last five years.
41  
42 Although it may work on older versions of perl, no guarantee is made that the
43 minimum required version will not be increased. The version may be increased
44 for any reason, and there is no promise that patches will be accepted to lower
45 the minimum required perl.
46  
47 =head1 IMPLEMENTING
48  
49 This role also performs L<Email::MIME::Kit::Role::Component>.
50  
51 Classes implementing this role must provide a C<read_manifest> method, which is
52 expected to locate and read a manifest for the kit. Classes implementing this
53 role should probably include L<Email::MIME::Kit::Role::ManifestDesugarer>, too.
54  
55 =head1 AUTHOR
56  
57 Ricardo Signes <rjbs@cpan.org>
58  
59 =head1 COPYRIGHT AND LICENSE
60  
61 This software is copyright (c) 2023 by Ricardo Signes.
62  
63 This is free software; you can redistribute it and/or modify it under
64 the same terms as the Perl 5 programming language system itself.
65  
66 =cut
« Kit/Role/Component.pm ↑ Summary Kit/Role/Renderer.pm »