
muraliv
New User
Oct 2, 2012, 4:10 AM
Post #1 of 4
(7984 views)
|
Need help to call perl module from C/C++ code without loading the perl libraries
|
Can't Post
|
|
Hi, I am new to perl. I have a requirement to call a perl module from C/C++ code without loading the perl libraries. I am not supposed to use the "system" call also. I am looking something similar to "dlopen" call which we use to load the shared libraries dynamically from a C/C++ code. Basically I wanted to keep perl and C/C++ code independently. Generally we can embed the perl into C/C++ code by including the include files EXTERN.h and perl.h. While compiling the C/C++ code, we need to provide the perl libraries. As per my requirement, I am not supposed to provide any perl libraries while compiling the C/C++ code. Any idea how to call perl module from C/C++ code without loading the perl libraries other than “system” call? Thanks in advance. Regards, Murali
|