perl version: 5.8.8
Operating System: i486-linux-gnu-thread-multi
#include#include int main(int argc, char **argv, char **env) { PerlInterpreter *my_perl; char *arg[] = { "", "-e", "" }; my_perl = perl_alloc(); perl_construct(my_perl); if (perl_parse(my_perl, NULL, 3, arg, (char **)NULL)) { fprintf(stderr,"Trouble opening perl parser\n"); return -1; } eval_pv( "$0='fubar'" , G_VOID); perl_destruct(my_perl); perl_free(my_perl); return 0; }