| 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 | 186506 | use strict; | |||
| 1 | 6 | ||||||
| 1 | 24 | ||||||
| 4 | 1 | 1 | 4 | use warnings; | |||
| 1 | 2 | ||||||
| 1 | 18 | ||||||
| 5 | 1 | 1 | 21 | use 5.008004; | |||
| 1 | 3 | ||||||
| 6 | 1 | 1 | 5 | use Exporter qw( import ); | |||
| 1 | 1 | ||||||
| 1 | 94 | ||||||
| 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.07'; # VERSION | ||||||
| 14 | |||||||
| 15 | |||||||
| 16 | 1; | ||||||
| 17 | |||||||
| 18 | __END__ |