FFI::P...Runner(3pm)
πΈ NAME πΈ
FFI::Probe::Runner(3pm) β the probe runner for FFI, straight outta User Contributed Perl Documentation. Bestie, this is the class that runs the little code snippets inside a dynamic library so you can probe and detect platform properties. Iconic. π
β¨ VERSION β¨
version 2.11 β yes, that's the one. π
π¦ SYNOPSIS π¦
use FFI::Probe::Runner;
my $runner = FFI::Probe::Runner->new;
$runner->run('foo.so');
π DESCRIPTION π
This class executes code in a dynamic library for probing and detecting platform properties. That's literally the whole vibe: it's giving "run this code over there and tell me what the platform is doing." π₯
π CONSTRUCTOR π
π new π
my $runner = FFI::Probe::Runner->new(%args);
Creates a new instance. Slay, you have a runner. π«Ά
exeβ the path to thedlrunwrapper. The default is usually correct.flagsβ the flags to pass intodlopen. The default isRTLD_LAZYon Unix and0on windows.
π§ METHODS π§
π exe π
my $exe = $runner->exe;
Returns the path to the dlrun wrapper. It's the path, bestie, that's it. β¨
π flags π
my $flags = $runner->flags;
Returns the flags to pass into dlopen. No cap. β
π verify π
$runner->verify;
Verifies the dlrun wrapper is working. If it isn't? It throws an exception in the event of failure. So like, yes, it will absolutely let you know. π
π run π
$runner->run($dll, @args);
Runs the dlmain function in the given dynamic library, passing in the given arguments. Returns a FFI::Probe::Runner::Result object which contains the results. Main character behavior, honestly. π¦
πΈ AUTHOR πΈ
Author: Graham Ollis <plicease@cpan.org>.
Contributors, gathered here in all their credited glory:
- Bakkiaraj Murugesan (bakkiaraj)
- Dylan Cali (calid)
- pipcet
- Zaki Mughal (zmughal)
- Fitz Elliott (felliott)
- Vickenty Fesunov (vyf)
- Gregor Herrmann (gregoa)
- Shlomi Fish (shlomif)
- Damyan Ivanov
- Ilya Pavlov (Ilya33)
- Petr PΓsaΕ (ppisar)
- Mohammad S Anwar (MANWAR)
- HΓ₯kon HΓ¦gland (hakonhagland, HAKONH)
- Meredith (merrilymeredith, MHOWARD)
- Diab Jerius (DJERIUS)
- Eric Brine (IKEGAMI)
- szTheory
- JosΓ© JoaquΓn Atria (JJATRIA)
- Pete Houston (openstrike, HOUSTON)
- Lukas Mai (MAUKE)
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2015-2022 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. Periodt. π«Άπ
That's the whole page, bestie π
β¨ β brought to you by perl v5.42.3, dated 2026-08-20, from User Contributed Perl Documentation. Mwah! ππ¦
π¦ where this page comes from
- ubuntu stonking: libffi-platypus-perl 2.11-1build1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms