File Coverage

blib/lib/Sietima/Policy.pm
Criterion Covered Total %
statement 19 19 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod n/a
total 25 25 100.0


line stmt bran cond sub pod time code
1             package Sietima::Policy;
2 16     16   361 use 5.024;
  16         63  
3 16     16   97 use strict;
  16         42  
  16         326  
4 16     16   90 use warnings;
  16         38  
  16         523  
5 16     16   115 use feature ':5.24';
  16         37  
  16         2257  
6 16     16   7955 use experimental 'signatures';
  16         54594  
  16         105  
7              
8             our $VERSION = '1.0.3'; # VERSION
9             # ABSTRACT: pragma for Sietima modules
10              
11              
12             sub import {
13             # These affect the currently compiling scope,
14             # so no need for import::into
15 137     137   2260146 strict->import;
16 137         1631 warnings->import;
17 137         1086 experimental->import('signatures');
18 137         18044 feature->import(':5.24');
19 137         7381 return;
20             }
21              
22             1;
23              
24             __END__
25              
26             =pod
27              
28             =encoding UTF-8
29              
30             =head1 NAME
31              
32             Sietima::Policy - pragma for Sietima modules
33              
34             =head1 VERSION
35              
36             version 1.0.3
37              
38             =head1 SYNOPSIS
39              
40             use 5.024;
41             use strict;
42             use warnings;
43             use feature ':5.24';
44             use experimental 'signatures';
45              
46             or just:
47              
48             use Sietima::Policy;
49              
50             =head1 DESCRIPTION
51              
52             This module imports the pragmas shown in the L</synopsis>. All Sietima
53             modules use it.
54              
55             =head1 AUTHOR
56              
57             Gianni Ceccarelli <dakkar@thenautilus.net>
58              
59             =head1 COPYRIGHT AND LICENSE
60              
61             This software is copyright (c) 2017 by Gianni Ceccarelli <dakkar@thenautilus.net>.
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