> Hi all, and sorry for the OT.

Oh no you're not.  If you were really sorry you wouldn't have posted in the
first place ;-).

> Does anyone know of any "perl2c" tools?

perlcc - comes on my distro of linux, probably yours to.  If you don't have
it I'll put the pkg up on the server for you, just let me know.

> I'd like one of my applications to
> use some perl scripts to do some processing, and I was wonderring if there
> is any tool to make perl code callable from C++ (or C).

With perlcc you *convert* the perl to C, instead of worrying about external
calls.  And then if you need to mod the code...

Of course there is a perl2c2perl2c that is a caller manager, but again it's
pretty heavy on the CPU and I wouldnt' do it.

> Of course I can
> invoke the perl interpretor, but since I need to call the perl side many
> times, I thought maybe there's a more efficient way.

Convert to C.  Most efficient

> Converting the code into C/C++ manually is not an option, since as you
know,
> I don't know perl.  BTW, to drive this further OT, if someone knows a tool
> to convert perl into PHP, then that would be useful to me as well.

Well after you convert it to C you could just about run it in php without
much modification...

/dev


_______________________________________________
msvc mailing list
[EMAIL PROTECTED]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription 
changes, and list archive.

Reply via email to