>
> Ok, however, setting it in httpd.conf results in problems with other
> parts of the site. It would be nice to be able to set
> it per page, don't you think? Would it be possible to patch embperl to
> use IO::Scalar in this case?
>

You have two possibilites, either say it in your httpd.conf, just for that
file, something like

<Files foo.epl>
    PerlSetEnv EMBPERL_OPTIONS 16384
..

<Files>

or do a

[! sub CLEANUP {select ($oldstdout)} !]
[- $oldstdout = select (OUT) -]

I didn't tried the second possibility, but it should work. It changes stdout
to go to OUT and the CLEANUP sub will restore it.

While your IO::Scalar works also, it's a little slower, because output has
first to go to the scalar

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