|
From: David Lee Lambert on 13 Sep 2006 18:20 I'm trying to embed perl in Java via JNI, and I'd like to be able to instantiate multiple independent perl interpreters. My work so far has lead to the following questions: 1. What is the purpose of PERL_SYS_INIT3? Will anything happen if I call it more that once? Do the argc and argv I pass to it need to be the same as the argc and argv I later pass to perl_parse? 2. How do I give perl_eval a list context? What is the difference between ENTER and savetmps? 3. Does SvPVutf8_nolen return a '\0'-terminated string? Does it encode characters from outside the BMP (values greater than U+10000) the same way Java does? How does it encode an embedded '\0' in a scalar? -- PGP key posted on website ... http://www.lmert.com/people/davidl/
|
Pages: 1 Prev: Taint and memory usage Next: Use of uninitialized value in print |