blib/lib/Module/New/File/Module.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 | package Module::New::File::Module; | ||||||
2 | |||||||
3 | 2 | 2 | 489 | use strict; | |||
2 | 2 | ||||||
2 | 49 | ||||||
4 | 2 | 2 | 6 | use warnings; | |||
2 | 3 | ||||||
2 | 37 | ||||||
5 | 2 | 2 | 7 | use Module::New::File; | |||
2 | 2 | ||||||
2 | 11 | ||||||
6 | |||||||
7 | file '{MAINFILE}' => content { return <<'EOT'; | ||||||
8 | package <%= $c->module %>; | ||||||
9 | |||||||
10 | use strict; | ||||||
11 | use warnings; | ||||||
12 | |||||||
13 | 1; | ||||||
14 | |||||||
15 | __END__ |