http://qs321.pair.com?node_id=170654


in reply to Re: Embedding Perl in C -- access to builtins?
in thread Embedding Perl in C -- access to builtins?

Thank you. This helps muchly; however, there are still many perlfuncs which I do not seem to be able to directly access through those functions alone. For instance, I have an SV *, and wish to reverse() it. What do I do? I imagine it to be possible to write a package (in Perl) that is loaded by the C program's perl instance at runtime, and which is used as a proxy to the core functions, but for some functions I'd have to fiddle with the arguments rather inefficiently. Are there better ways?