Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Re: embedded perl: C-Perl-C

by daveola (Acolyte)
on Sep 21, 2001 at 13:44 UTC ( #113842=note: print w/replies, xml ) Need Help??

in reply to Re: embedded perl: C-Perl-C
in thread embedded perl: C-Perl-C

No this won't accomplish the example I gave in the original post. I need to:

1) Start with C main (so, it needs to be a perl library, not a modified perl)
2) Call perl from C
3) From inside the perl subroutine, call a C function in the same namespace as the C main()

This is what I'm looking for. I'm beginning to think it can't currently be done because it would be too difficult to manage the stack, and probably nobody has needed it since most are happy with Inline, XS or perl_call.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://113842]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2020-04-06 21:54 GMT
Find Nodes?
    Voting Booth?
    The most amusing oxymoron is:

    Results (42 votes). Check out past polls.