Kit/Role/Component.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 13 / 13 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Kit/Role/Assembler.pm ↑ Summary Kit/Role/ManifestReader.pm »
1 package Email::MIME::Kit::Role::Component 3.000007;
2 # ABSTRACT: things that are kit components
3  
4 7 ▶use v5.20.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 7 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 #pod =head1 DESCRIPTION
8 #pod
9 #pod All (or most, anyway) components of an Email::MIME::Kit will perform this role.
10 #pod Its primary function is to provide a C<kit> attribute that refers back to the
11 #pod Email::MIME::Kit into which the component was installed.
12 #pod
13 #pod =cut
14  
15 7 has kit => (
16 is => 'ro',
17 isa => 'Email::MIME::Kit',
18 required => 1,
19 weak_ref => 1,
20 );
21  
22 7 ▶no Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
23 7 1;
24  
25 __END__
26  
27 =pod
28  
29 =encoding UTF-8
30  
31 =head1 NAME
32  
33 Email::MIME::Kit::Role::Component - things that are kit components
34  
35 =head1 VERSION
36  
37 version 3.000007
38  
39 =head1 DESCRIPTION
40  
41 All (or most, anyway) components of an Email::MIME::Kit will perform this role.
42 Its primary function is to provide a C<kit> attribute that refers back to the
43 Email::MIME::Kit into which the component was installed.
44  
45 =head1 PERL VERSION
46  
47 This library should run on perls released even a long time ago. It should work
48 on any version of perl released in the last five years.
49  
50 Although it may work on older versions of perl, no guarantee is made that the
51 minimum required version will not be increased. The version may be increased
52 for any reason, and there is no promise that patches will be accepted to lower
53 the minimum required perl.
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/Assembler.pm ↑ Summary Kit/Role/ManifestReader.pm »