How can I use a C++ class from Perl?

前端 未结 3 1900
春和景丽
春和景丽 2021-01-01 20:55

I have a set of classes written in C++. What would be best way to call them from a Perl script? Thanks.

3条回答
  •  失恋的感觉
    2021-01-01 21:14

    I would normally choose XS, like tsee, but there is also Inline::C (or Inline::CPP in this case). I dislike SWiG and tend to avoid packages built around it.

提交回复
热议问题