NAME

Acme::Ford::Prefect::FFI - FFI test module for Alien::Base

VERSION

version 2.7200

SYNOPSIS

use Acme::Ford::Prefect::FFI;

my $answer = Acme::Ford::Prefect::FFI::answer(); # == 42 of course

DESCRIPTION

Alien::Base comprises base classes to help in the construction of Alien:: modules. Modules in the Alien namespace are used to locate and install (if necessary) external libraries needed by other Perl modules.

This module is a toy module to test the efficacy of the Alien::Base system with its experimental FFI interfaces. This module depends on another toy module Acme::Alien::DontPanic which provides the needed libdontpanic library to be able to tell us the answer to life, the universe and everything.

FUNCTIONS

answer

my $answer = Acme::Ford::Prefect::FFI::answer();

Returns the answer to life the universe and everything. Not exported.

SEE ALSO

FFI::Platypus
Alien::Base
Alien

AUTHOR

Graham Ollis <plicease@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014-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.