blib/lib/Acme/Pi.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 12 | 12 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | n/a | ||
total | 16 | 16 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | 2 | 2 | 31934 | use strict; | |||
2 | 3 | ||||||
2 | 69 | ||||||
2 | 2 | 2 | 7 | use warnings; | |||
2 | 2 | ||||||
2 | 70 | ||||||
3 | package Acme::Pi; # git description: v3.141-6-g804a9d5 | ||||||
4 | # ABSTRACT: Mmm, pie | ||||||
5 | # vim: set ts=8 sts=4 sw=4 tw=78 et : | ||||||
6 | |||||||
7 | 2 | 2 | 553 | use utf8; | |||
2 | 8 | ||||||
2 | 7 | ||||||
8 | # KEYWORDS: pi π | ||||||
9 | |||||||
10 | my $version = atan2(1,1) * 4; $Acme::Pi::VERSION = "$version"; | ||||||
11 | |||||||
12 | 2 | 2 | 155 | use Exporter 'import'; | |||
2 | 3 | ||||||
2 | 156 | ||||||
13 | our @EXPORT = ('$π'); | ||||||
14 | our $π = atan2(1,1) * 4; | ||||||
15 | |||||||
16 | 1; | ||||||
17 | __END__ |