Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


Embedding Perl in C filter_list
Author
Message
RE: Embedding Perl in C #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.

Reply





Messages In This Thread
Embedding Perl in C - by Inori - 01-25-2018, 05:10 PM
RE: Embedding Perl in C - by Blink - 01-25-2018, 06:25 PM
RE: Embedding Perl in C - by Inori - 01-25-2018, 07:55 PM
RE: Embedding Perl in C - by Confidential - 02-09-2018, 08:32 PM
RE: Embedding Perl in C - by Inori - 02-10-2018, 05:17 AM
RE: Embedding Perl in C - by Confidential - 02-10-2018, 10:03 PM
RE: Embedding Perl in C - by benken - 02-10-2018, 09:14 AM



Users browsing this thread: 1 Guest(s)