Some suggested to use SWIG. How is this different from the one you have mentioned. My aim is to glue components written in C++ using Perl. It would be great if you could throw some light on this.
Thanks in advance.
| [reply] |
SWIG is another option, but I've never personally (directly) used it. It allows wrapping a library from several different languages with the same SWIG interface code (so you do the SWIG part once and get a Perl interface, a Python interface, a TCL interface, . . .). If you might want to interface from multiple languages then definately take a look at SWIG, otherwise Inline::Cpp is probably going to be the easiest route.
| [reply] |
| [reply] |
| [reply] |
I recommend Perl XS with C++. There is an example on access member functions from Perl.
| [reply] |