Hi,
Can any one please tell me how to pass the reference to perl script from C code.
The problem is, we have created perl interpreter instance and calling the perl subroutine using call_pv* interface.
We are having a string consists of huge (in terms of MB) data. Shall we pass
the address (char *) of the string to perl using XPUSH() and access
the string from perl subroutine.
It would be helpful if you can suggest something in this regard because we have huge data (in terms of MB)
in C code and that should be processed by perl function.
If we send the entire data, every time, we think we will be running out memory.
Thanks,
poorna