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 | 521 | use strict; | |||
1 | 2 | ||||||
1 | 22 | ||||||
2 | 1 | 1 | 5 | use warnings; | |||
1 | 1 | ||||||
1 | 41 | ||||||
3 | |||||||
4 | package ToolSet::SWC; | ||||||
5 | # ABSTRACT: Sample toolset with strict, warnings and Carp | ||||||
6 | |||||||
7 | our $VERSION = '1.03'; | ||||||
8 | |||||||
9 | 1 | 1 | 5 | use base 'ToolSet'; | |||
1 | 1 | ||||||
1 | 286 | ||||||
10 | |||||||
11 | ToolSet->use_pragma('strict'); | ||||||
12 | ToolSet->use_pragma('warnings'); | ||||||
13 | |||||||
14 | ToolSet->export( 'Carp' => undef, ); | ||||||
15 | |||||||
16 | 1; # true | ||||||
17 | |||||||
18 | __END__ |