[Israel.pm] Embeding Perl - cont

Shmuel Fomberg semuelf at 012.net.il
Wed Mar 14 11:57:32 PDT 2007

Hello There.

I learned to make perl *not* parsing any file, and that is:
char *embedding[] = { "", "-e", "0" };
perl_parse(my_perl, NULL, 3, embedding, NULL);

and then I can do perl_run without any consequences. 
So I presume that anything that I do after perl_parse is compile time,
and everything I do after perl_run is run time, or am I wrong?

But still I can't run commands. Both load_module and call_method fail,
but everything work when I replace them with eval_pv. 
Any help?


More information about the Perl mailing list