1FFI::Probe::Runner(3) User Contributed Perl DocumentationFFI::Probe::Runner(3)
2
3
4

NAME

6       FFI::Probe::Runner - Probe runner for FFI
7

VERSION

9       version 1.10
10

SYNOPSIS

12        use FFI::Probe::Runner;
13
14        my $runner = FFI::Probe::Runner->new;
15        $runner->run('foo.so');
16

DESCRIPTION

18       This class executes code in a dynamic library for probing and detecting
19       platform properties.
20

CONSTRUCTOR

22   new
23        my $runner = FFI::Probe::Runner->new(%args);
24
25       Creates a new instance.
26
27       exe The path to the dlrun wrapper.  The default is usually correct.
28
29       flags
30           The flags to pass into "dlopen".  The default is "RTLD_LAZY" on
31           Unix and 0 on windows..
32

METHODS

34   exe
35        my $exe = $runner->exe;
36
37       The path to the dlrun wrapper.
38
39   flags
40        my $flags = $runner->flags;
41
42       The flags to pass into "dlopen".
43
44   verify
45        $runner->verify;
46
47       Verifies the dlrun wrapper is working.  Throws an exception in the
48       event of failure.
49
50   run
51        $runner->run($dll, @args);
52
53       Runs the "dlmain" function in the given dynamic library, passing in the
54       given arguments.  Returns a FFI::Probe::Runner::Result object which
55       contains the results.
56

AUTHOR

58       Author: Graham Ollis <plicease@cpan.org>
59
60       Contributors:
61
62       Bakkiaraj Murugesan (bakkiaraj)
63
64       Dylan Cali (calid)
65
66       pipcet
67
68       Zaki Mughal (zmughal)
69
70       Fitz Elliott (felliott)
71
72       Vickenty Fesunov (vyf)
73
74       Gregor Herrmann (gregoa)
75
76       Shlomi Fish (shlomif)
77
78       Damyan Ivanov
79
80       Ilya Pavlov (Ilya33)
81
82       Petr Pisar (ppisar)
83
84       Mohammad S Anwar (MANWAR)
85
86       Håkon Hægland (hakonhagland, HAKONH)
87
88       Meredith (merrilymeredith, MHOWARD)
89
90       Diab Jerius (DJERIUS)
91
93       This software is copyright (c) 2015,2016,2017,2018,2019 by Graham
94       Ollis.
95
96       This is free software; you can redistribute it and/or modify it under
97       the same terms as the Perl 5 programming language system itself.
98
99
100
101perl v5.30.1                      2020-02-06             FFI::Probe::Runner(3)
Impressum