Re: providing perl api for C library

Kang-min Liu <[email protected]> Sat, 10 Dec 2022 22:24:17 +0900
Newsgroups gmane.comp.lang.perl.beginners
Message-ID <[email protected]>
"Henry R" <[email protected]> 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

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/