Hi,
>
> I just upgraded to Embperl 1.2.1 and I've broken my internet server!$%
>
> It appears the problem is I have some perl routines that go
> print <<EOF
> <HTML>
> EOF
>
>From which version did you upgrade? This problem should also be there for
all older versions I remember...
> etc.. That was probably the wrong thing to do. I think the HTML is
> coming out before the http headers. Well I've tried the
> $optRedirectStdout feature but all the HTML is quoted so I get
> <HTML> etc which is no good. I've tried $optDisableHtmlScan, but
> that doesn't help.
>
> I've tried to print to OUT instead of STDOUT, but OUT doesn't seem to be
> in the right namespace (No, I'm not a perl guru). And I've tried to pass
> the OUT descriptor to the routine using \*OUT or *OUT{IO}, but none of
> this works.
>
Try
{
local $HTML::Embperl::escmode = 0 ;
print HTML::Embperl::OUT <<EOF
<HTML>
EOF
}
This should work, but it's just a quick hack. I do not promise that Embperl
1.4 or 2.0 will support these global variables, also I guess they will do
so. (1.3 surely will not change these things)
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
-------------------------------------------------------------