blib/lib/Algorithm/FastPermute.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 9 | 100.0 |
branch | 1 | 2 | 50.0 |
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | n/a | ||
total | 13 | 14 | 92.8 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Algorithm::FastPermute; | ||||||
2 | |||||||
3 | 1 | 1 | 735 | use strict; | |||
1 | 1 | ||||||
1 | 72 | ||||||
4 | BEGIN { | ||||||
5 | 1 | 1 | 2 | eval {require warnings}; | |||
1 | 4 | ||||||
6 | 1 | 50 | 48 | warnings->import if !$@ | |||
7 | } | ||||||
8 | |||||||
9 | require 5.006; | ||||||
10 | require Exporter; | ||||||
11 | require DynaLoader; | ||||||
12 | |||||||
13 | 1 | 1 | 5 | use vars qw(@ISA @EXPORT $VERSION); | |||
1 | 1 | ||||||
1 | 105 | ||||||
14 | |||||||
15 | @ISA = qw(Exporter DynaLoader); | ||||||
16 | @EXPORT = qw(permute); | ||||||
17 | $VERSION = '0.999'; | ||||||
18 | |||||||
19 | bootstrap Algorithm::FastPermute $VERSION; | ||||||
20 | |||||||
21 | 1; | ||||||
22 | __END__ |