You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Vlad Safronov <vl...@comptek.ru> on 2000/03/03 12:19:27 UTC
Is there way to execute Embperl from within C program?
Hi!
Is there way to execute Embperl script from within
C program? It's possible for Perl script as it's said
in "Advanced Perl Programming (Ch. 19 Embedding Perl: the easy way.)".
--
Best regards,
******************************************************
Vlad A. Safronov vlads@comptek.ru
Re: Is there way to execute Embperl from within C program?
Posted by Vlad Safronov <vl...@comptek.ru>.
Thanx a lot!
Gerald Richter wrote:
>
> Hi!
> >
> > Is there way to execute Embperl script from within
> > C program? It's possible for Perl script as it's said
> > in "Advanced Perl Programming (Ch. 19 Embedding Perl: the easy way.)".
>
> You can call the HTML::Embperl::Execute function like any other Perl
> function from C.
>
> Use "perl_require" to load HTML::Embperl and "perl_call_sv" to call
> "HTML::Embperl::Execute"
>
> perldoc perlembed
>
> should give you more details
>
> Gerald
>
> -------------------------------------------------------------
> Gerald Richter ecos electronic communication services gmbh
> Internetconnect * Webserver/-design/-datenbanken * Consulting
>
> Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
> E-Mail: richter@ecos.de Voice: +49 6133 925151
> WWW: http://www.ecos.de Fax: +49 6133 925152
> -------------------------------------------------------------
--
Best regards,
******************************************************
Vlad A. Safronov vlads@comptek.ru
CompTek Intl. www.yandex.ru, www.comptek.ru
Tel.: +7(095)785-2525, ext. 586
RE: Is there way to execute Embperl from within C program?
Posted by Gerald Richter <ri...@ecos.de>.
Hi!
>
> Is there way to execute Embperl script from within
> C program? It's possible for Perl script as it's said
> in "Advanced Perl Programming (Ch. 19 Embedding Perl: the easy way.)".
You can call the HTML::Embperl::Execute function like any other Perl
function from C.
Use "perl_require" to load HTML::Embperl and "perl_call_sv" to call
"HTML::Embperl::Execute"
perldoc perlembed
should give you more details
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 925151
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------