blib/lib/Minilla/CLI/Help.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 12 | 75.0 |
branch | 0 | 2 | 0.0 |
condition | n/a | ||
subroutine | 3 | 4 | 75.0 |
pod | 0 | 1 | 0.0 |
total | 12 | 19 | 63.1 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Minilla::CLI::Help; | ||||||
2 | 1 | 1 | 13 | use strict; | |||
1 | 2 | ||||||
1 | 27 | ||||||
3 | 1 | 1 | 10 | use warnings; | |||
1 | 9 | ||||||
1 | 23 | ||||||
4 | 1 | 1 | 5 | use utf8; | |||
1 | 2 | ||||||
1 | 5 | ||||||
5 | |||||||
6 | sub run { | ||||||
7 | 0 | 0 | 0 | my ($self, @args) = @_; | |||
8 | |||||||
9 | 0 | 0 | my $module = $args[0] ? ( "Minilla::CLI::" . ucfirst $args[0] ) : "Minilla"; | ||||
10 | 0 | system "perldoc", $module; | |||||
11 | } | ||||||
12 | |||||||
13 | 1; | ||||||
14 | __END__ |