BIMI/Prelude.pm

filter: Statementstmt 100% 33 / 33 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 9 / 9 Podpod n/a totaltotal 100% 42 / 42 CC 3 SCAR 4.4
CC
3
Cov
100%
import
3.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.5
« BIMI/CacheBackend/File.pm ↑ Summary BIMI/Base.pm »
1 package Mail::BIMI::Prelude;
2 # ABSTRACT: Setup system wide prelude
3 31 our $VERSION = '3.20260302'; # VERSION
4 31 ▶use 5.20.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 31 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 31 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 31 require feature;
8  
9  
10 31 ▶use open ':std', ':encoding(UTF-8)';
Subroutine BEGIN: called CC=1 SCAR=0.0
11 31 ▶use Import::Into;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 31 ▶use Mail::BIMI::Constants;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 31 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 31 ▶use JSON;
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16 sub import {
17 629 ▶ strict->import;
Subroutine import: called CC=3 SCAR=11.0
18 629 warnings->import;
19 629 feature->import($_) for ( qw{ postderef signatures } );
20 629 warnings->unimport($_) for ( qw{ experimental::postderef experimental::signatures } );
21 629 Mail::BIMI::Constants->import::into(scalar caller);
22 629 Carp->import::into(scalar caller);
23 629 JSON->import::into(scalar caller);
24 }
25  
26 31 1;
27  
28 __END__
29  
30 =pod
31  
32 =encoding UTF-8
33  
34 =head1 NAME
35  
36 Mail::BIMI::Prelude - Setup system wide prelude
37  
38 =head1 VERSION
39  
40 version 3.20260302
41  
42 =head1 DESCRIPTION
43  
44 Distribution wide pragmas and imports
45  
46 =head1 REQUIRES
47  
48 =over 4
49  
50 =item * L<Carp|Carp>
51  
52 =item * L<Import::Into|Import::Into>
53  
54 =item * L<JSON|JSON>
55  
56 =item * L<Mail::BIMI::Constants|Mail::BIMI::Constants>
57  
58 =item * L<feature|feature>
59  
60 =item * L<feature|feature>
61  
62 =item * L<open|open>
63  
64 =item * L<strict|strict>
65  
66 =item * L<warnings|warnings>
67  
68 =back
69  
70 =head1 AUTHOR
71  
72 Marc Bradshaw <marc@marcbradshaw.net>
73  
74 =head1 COPYRIGHT AND LICENSE
75  
76 This software is copyright (c) 2020 by Marc Bradshaw.
77  
78 This is free software; you can redistribute it and/or modify it under
79 the same terms as the Perl 5 programming language system itself.
80  
81 =cut
« BIMI/CacheBackend/File.pm ↑ Summary BIMI/Base.pm »