blib/lib/ToolSet/SWC.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 9 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | n/a | ||
total | 12 | 12 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | 1 | 1 | 902 | use strict; | |||
1 | 2 | ||||||
1 | 36 | ||||||
2 | 1 | 1 | 6 | use warnings; | |||
1 | 2 | ||||||
1 | 67 | ||||||
3 | |||||||
4 | package ToolSet::SWC; | ||||||
5 | # ABSTRACT: Sample toolset with strict, warnings and Carp | ||||||
6 | our $VERSION = '1.01'; # VERSION | ||||||
7 | |||||||
8 | 1 | 1 | 6 | use base 'ToolSet'; | |||
1 | 3 | ||||||
1 | 525 | ||||||
9 | |||||||
10 | ToolSet->use_pragma('strict'); | ||||||
11 | ToolSet->use_pragma('warnings'); | ||||||
12 | |||||||
13 | ToolSet->export( 'Carp' => undef, ); | ||||||
14 | |||||||
15 | 1; # true | ||||||
16 | |||||||
17 | __END__ |