blib/lib/lib/ini/plugin.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 3 | 6 | 50.0 |
branch | 0 | 2 | 0.0 |
condition | n/a | ||
subroutine | 1 | 2 | 50.0 |
pod | n/a | ||
total | 4 | 10 | 40.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package lib::ini::plugin; | ||||||
2 | { | ||||||
3 | $lib::ini::plugin::VERSION = '0.002'; | ||||||
4 | } | ||||||
5 | |||||||
6 | # ABSTRACT: Base class for lib::ini plugins | ||||||
7 | |||||||
8 | 3 | 3 | 2162 | use lib (); | |||
3 | 1764 | ||||||
3 | 195 | ||||||
9 | |||||||
10 | sub import { | ||||||
11 | 0 | 0 | my ($class, %args) = @_; | ||||
12 | 0 | my @dirs = $class->generate_inc(%args); | |||||
13 | 0 | 0 | lib->import(@dirs) if @dirs; | ||||
14 | } | ||||||
15 | |||||||
16 | 1; | ||||||
17 | |||||||
18 | __END__ |