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   350 use 5.024;
  16         55  
3 16     16   90 use strict;
  16         27  
  16         305  
4 16     16   92 use warnings;
  16         30  
  16         448  
5 16     16   97 use feature ':5.24';
  16         33  
  16         2985  
6 16     16   7509 use experimental 'signatures';
  16         55738  
  16         89  
7              
8             our $VERSION = '1.0.4'; # 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   3041344 strict->import;
16 137         1458 warnings->import;
17 137         849 experimental->import('signatures');
18 137         16324 feature->import(':5.24');
19 137         8388 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.4
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