Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

calling perl program from C++

by baperl (Sexton)
on Oct 01, 2011 at 21:00 UTC ( #929064=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #include <EXTERN.h>
        #include <perl.h>
    ...
        perl_free(my_perl);
        PERL_SYS_TERM();
        }
    
  2. or download this
     g++ fn-test.cpp -o t 'perl -MExtUtils::Embed -e ccopts -e ldopts'
    g++: perl -MExtUtils::Embed -e ccopts -e ldopts: No such file or direc
    +tory
    fn-test.cpp:2:24: fatal error: EXTERN.h: No such file or directory
    compilation terminated.
    
  3. or download this
    force install ExtUtils::Embed
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://929064]
Approved by GrandFather
Front-paged by davido
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2015-07-04 10:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (59 votes), past polls