RE: Embedding Perl in C 02-10-2018, 10:03 PM
#7
(02-10-2018, 05:17 AM)Valkyrie Wrote:(02-09-2018, 08:32 PM)Confidential Wrote: Correct me if I am wrong, but couldn't you just do a system call to Perl and then parse the result of that?
If you're embedding Perl as a runtime API for a framework, for example, you'll likely need more than just the output of the script. The docs and man pages show ways of running functions in the script and retrieving variables, among other things.
Docs: https://perldoc.perl.org/perlembed.html
Ah, I see. Thanks for enlightening me.