Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 wandering the Monastery: (7)
As of 2014-12-28 01:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls