package Answer; use strict; use warnings; use FFI::Platypus 2.00; use Exporter qw( import ); our @EXPORT = qw( answer ); my $ffi = FFI::Platypus->new( api => 2 ); $ffi->bundle; $ffi->attach( answer => [] => 'int' ); 1;