Hi,

>
> Thank you for the usable hint!
>
> But i have noticed that a some "subs" in Embperl.pm which call XS_Init
> procedure also to call the XS_Term. Should i put the XS_Term() after
XS_Init
> + Execute ?
>

It's not really neccessary. You can put a XS_Term at the end of your script,
but it only closes open files, which would be done anyway when the script
terminates. The only reason to call XS_Init explicit, is to pass a 1 as
first parameter, which tells Embperl that it runs as CGI and therefore will
write out the headers. This piece of code is very old and I think I should
implemented (and documented) in a better way some time...

Gerald


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925151
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to