S
suraj
Hello,
i have a strange situation. i am writing a perl extension on win32 with perl
5.6 from activestate.
however, this might be a general situation somebody might get into and hence
hoping some perl gurus might be able to answer me.
1. i have written a XS extention in C++ which provides some functionality. i
wrote a small test perl script and everything works fine.
2. however, now i have to enhance the functionality in the C++ layer of this
extension so that it does some code execution/expression parsing at runtime. i
wanted to use the perl engine to do this since perl is so flexible and
powerful.
3. so i tried to embed perl in the way described in the perl embed man pages
and so now i have a perl extension embedding perl inturn. it compiled ok but
now crashes at random places when i hit that code.
does anybody know if this is possible at all? is there any help about this in
any manpages. i tried couple of them but most of them talk about using perl in
a C/C++ executable. but my situation is not this straight forward. i have perl
using a C++ extension which tries to embed perl in turn.
thanks for any help,
suraj bhide.
i have a strange situation. i am writing a perl extension on win32 with perl
5.6 from activestate.
however, this might be a general situation somebody might get into and hence
hoping some perl gurus might be able to answer me.
1. i have written a XS extention in C++ which provides some functionality. i
wrote a small test perl script and everything works fine.
2. however, now i have to enhance the functionality in the C++ layer of this
extension so that it does some code execution/expression parsing at runtime. i
wanted to use the perl engine to do this since perl is so flexible and
powerful.
3. so i tried to embed perl in the way described in the perl embed man pages
and so now i have a perl extension embedding perl inturn. it compiled ok but
now crashes at random places when i hit that code.
does anybody know if this is possible at all? is there any help about this in
any manpages. i tried couple of them but most of them talk about using perl in
a C/C++ executable. but my situation is not this straight forward. i have perl
using a C++ extension which tries to embed perl in turn.
thanks for any help,
suraj bhide.