blib/lib/FFI/Platypus/DL.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 11 | 11 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | n/a | ||
total | 15 | 15 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package FFI::Platypus::DL; | ||||||
2 | |||||||
3 | 1 | 1 | 217735 | use strict; | |||
1 | 6 | ||||||
1 | 28 | ||||||
4 | 1 | 1 | 5 | use warnings; | |||
1 | 2 | ||||||
1 | 21 | ||||||
5 | 1 | 1 | 25 | use 5.008004; | |||
1 | 4 | ||||||
6 | 1 | 1 | 4 | use Exporter qw( import ); | |||
1 | 2 | ||||||
1 | 115 | ||||||
7 | |||||||
8 | require FFI::Platypus; | ||||||
9 | our @EXPORT = qw( dlopen dlerror dlsym dlclose ); | ||||||
10 | push @EXPORT, grep /RTLD_/, keys %FFI::Platypus::DL::; | ||||||
11 | |||||||
12 | # ABSTRACT: Slightly non-portable interface to libdl | ||||||
13 | our $VERSION = '2.06_01'; # TRIAL VERSION | ||||||
14 | |||||||
15 | |||||||
16 | 1; | ||||||
17 | |||||||
18 | __END__ |