develooper Front page | perl.beginners | Postings from December 2022

Re: providing perl api for C library

Thread Previous | Thread Next
From:
Kang-min Liu
Date:
December 10, 2022 14:05
Subject:
Re: providing perl api for C library
Message ID:
86k02z73t0.fsf@gugod.org

"Henry R" <support@openmbox.net> writes:

> Hello list,
>
> I have written a C library which encrypts the data stored in object storage like S3.
> If I want to provide it with a perl OO interface what's the right way? such methods like:

My experience on this topic is rather limited, but if you are talking
about interfacing a .so file, the CPAN module FFI::Platypus might be the
easiest way -- less line of code to write, but heavier on dependencies. :)

--
Kang-min Liu

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About