blib/lib/AudioCD.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 AudioCD; | ||||||
2 | |||||||
3 | 1 | 1 | 682 | use strict; | |||
1 | 2 | ||||||
1 | 48 | ||||||
4 | 1 | 1 | 5 | use vars qw($VERSION @ISA @EXPORT $IsMac); | |||
1 | 2 | ||||||
1 | 88 | ||||||
5 | 1 | 1 | 5 | use Exporter; | |||
1 | 16 | ||||||
1 | 142 | ||||||
6 | |||||||
7 | @ISA = qw(DynaLoader); | ||||||
8 | $VERSION = '0.20'; | ||||||
9 | |||||||
10 | $IsMac = $^O eq 'MacOS'; | ||||||
11 | |||||||
12 | if ($IsMac) { | ||||||
13 | require AudioCD::Mac; | ||||||
14 | AudioCD::Mac->import(); | ||||||
15 | push @EXPORT, @AudioCD::Mac::EXPORT; | ||||||
16 | @ISA = qw(AudioCD::Mac); | ||||||
17 | } | ||||||
18 | |||||||
19 | 1; | ||||||
20 | __END__ |