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. Advertising

  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. Advertising

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. Boris R.
    Replies:
    0
    Views:
    469
    Boris R.
    Oct 15, 2003
  2. David F. Skoll
    Replies:
    2
    Views:
    891
    David F. Skoll
    Nov 14, 2003
  3. Frank Iannarilli

    Embedding Perl into C: Why?

    Frank Iannarilli, Jun 2, 2004, in forum: Perl
    Replies:
    1
    Views:
    524
    Sean Lynch
    Jun 3, 2004
  4. Benedikt Feldhaus

    Embedding Perl in Win32 Dll

    Benedikt Feldhaus, Nov 4, 2003, in forum: Perl Misc
    Replies:
    0
    Views:
    129
    Benedikt Feldhaus
    Nov 4, 2003
  5. suraj

    embedding perl within perl....

    suraj, Nov 6, 2003, in forum: Perl Misc
    Replies:
    4
    Views:
    122
    Al Tobey
    Nov 7, 2003
Loading...

Share This Page