embedding Perl

Discussion in 'Perl' started by Kris De Schutter, Aug 18, 2004.

  1. Hello everyone,

    I'm looking for a document which shows me how to set up a C application
    with an embedded Perl engine in such a way that the Perl engine can call
    back to the parent application.

    I've figured out how to embed Perl and do calls from C to Perl. It's the
    callback part I'm having trouble with.

    Can anyone point me in the right direction ? It would be greatly
    appreciated.

    Kind regards,

    Kris
     
    Kris De Schutter, Aug 18, 2004
    #1
    1. Advertisements

  2. Kris De Schutter

    penguinista Guest

    Kris De Schutter wrote:

    > Hello everyone,
    >
    > I'm looking for a document which shows me how to set up a C application
    > with an embedded Perl engine in such a way that the Perl engine can call
    > back to the parent application.
    >
    > I've figured out how to embed Perl and do calls from C to Perl. It's the
    > callback part I'm having trouble with.
    >
    > Can anyone point me in the right direction ? It would be greatly
    > appreciated.
    >
    > Kind regards,
    >
    > Kris


    There's pointers on perl.org regarding extending perl with C functions.
    Or you could look at SWIG (simple wrapper & Interface Generator) to
    provide the interface between perl and C functions.
     
    penguinista, Aug 18, 2004
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. dpackwood
    Replies:
    3
    Views:
    2,190
  2. David F. Skoll
    Replies:
    2
    Views:
    1,111
    David F. Skoll
    Nov 14, 2003
  3. suraj

    embedding perl within perl....

    suraj, Nov 6, 2003, in forum: Perl Misc
    Replies:
    4
    Views:
    203
    Al Tobey
    Nov 7, 2003
  4. PerlFAQ Server

    FAQ 1.4 What are Perl 4, Perl 5, or Perl 6?

    PerlFAQ Server, Jan 23, 2011, in forum: Perl Misc
    Replies:
    0
    Views:
    535
    PerlFAQ Server
    Jan 23, 2011
  5. PerlFAQ Server
    Replies:
    0
    Views:
    1,017
    PerlFAQ Server
    Feb 3, 2011
  6. PerlFAQ Server

    FAQ 1.4 What are Perl 4, Perl 5, or Perl 6?

    PerlFAQ Server, Feb 27, 2011, in forum: Perl Misc
    Replies:
    0
    Views:
    537
    PerlFAQ Server
    Feb 27, 2011
  7. PerlFAQ Server
    Replies:
    0
    Views:
    994
    PerlFAQ Server
    Apr 4, 2011
  8. Dilbert
    Replies:
    0
    Views:
    1,078
    Dilbert
    Nov 10, 2011
Loading...