How can I name a C ++ program in a Perl script?

I am writing a perl script that needs to be shared with a C ++ program (which is already written). And I am very poorly versed in C ++ programs.

Can someone suggest me how to include a C ++ program in a perl script? and give input from a perl script to a C ++ program?

+1
source share
3 answers

You can execute an external script from perl using

+3
source

Take a look at Inline :: CPP - write down Perl routines and classes in C ++.

+2
source

There is SWIG with which you can provide classes from your C ++ program that you want to share with Perl. You can configure which classes you want to use in any object file.

+1
source

All Articles