in reply to Embed Perl in Perl

Is there any XS binding to the PerlInterpreter API?

Better yet, there's a core module for doing that?

use threads; ## Run code in a seperate interpreter async { ...; };

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^2: Embed Perl in Perl
by goibhniu (Hermit) on Mar 16, 2011 at 14:18 UTC

    Perlembed documentation does have a bullet called "Use Perl from Perl" in the preamble listing do, eval, require and use. Should we suggest to the perldoc owners (I don't know how this is maintained) that they add threads' async function to the list?


    #my sig used to say 'I humbly seek wisdom. '. Now it says:
    use strict;
    use warnings;
    I humbly seek wisdom.

      You could try sending p5p a doc patch to that effect, but I wouldn't hazard a guess as to their acceptance.


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.