blib/lib/Acme/MyFirstModule/MALLEN.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 15 | 60.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 5 | 60.0 |
pod | 0 | 2 | 0.0 |
total | 12 | 22 | 54.5 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | 1 | 1 | 23203 | use 5.020; | |||
1 | 4 | ||||||
1 | 31 | ||||||
2 | |||||||
3 | 1 | 1 | 6 | use strict; | |||
1 | 2 | ||||||
1 | 30 | ||||||
4 | 1 | 1 | 5 | use warnings; | |||
1 | 4 | ||||||
1 | 113 | ||||||
5 | package Acme::MyFirstModule::MALLEN; | ||||||
6 | |||||||
7 | # ABSTRACT: turns baubles into trinkets | ||||||
8 | |||||||
9 | sub new { | ||||||
10 | 0 | 0 | 0 | my $class = shift; | |||
11 | |||||||
12 | 0 | my $self = bless {}, $class; | |||||
13 | |||||||
14 | 0 | return $self; | |||||
15 | } | ||||||
16 | |||||||
17 | sub ping { | ||||||
18 | 0 | 0 | 0 | my $self = shift; | |||
19 | |||||||
20 | 0 | say "You have to use perl 5.20 to run this."; | |||||
21 | |||||||
22 | 0 | 1; | |||||
23 | } | ||||||
24 | |||||||
25 | 'beer'; |