Home: General Discussions: General Questions:
C++ function call in Perl



sach_1979
Novice

May 12, 2009, 1:44 AM


Views: 5565
C++ function call in Perl

Hi,

How can I access C++ function in Perl. I have a test.cpp and test.h file, which contains following routines

int add(int a, int b);

int sub(int a, int b);

how can i call this function in perl script?

Thanks

sachin