You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Ben Kim <bk...@coe.tamu.edu> on 2005/11/28 06:17:51 UTC

epl page printing headers

I upgraded from perl 5.6.1 to perl 5.8.7 and added mod_perl 2.0.2 /
Embperl 2.1.0 and somehow I'm seeing something strange from my old Apache
as well as my new one.

A page with this code only

[+"Jello"+]
[- print "Hello"; -]

prints

++++++++
HelloHTTP/1.1 200 OKDate: Mon, 28 Nov 2005 04:59:58 GMT
Server: Apache/1.3.26 (Unix) PHP/4.3.3 mod_perl/1.27
Content-Length: 6
Content-Type: text/html

Jello
++++++++

on the new one

++++++++
Jello
++++++++

Has anyone seen this? What could be the reason? I'd appreciate any advice.



Thanks.

Ben Kim
Developer
http://benix.tamu.edu



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


RE: epl page printing headers

Posted by Ben Kim <bk...@coe.tamu.edu>.
>> [+"Jello"+]
>> [- print "Hello"; -]
>You need to say 
>  print OUT "Hello"

Thanks much for the quick response. I uncommented a previously used

PerlSetEnv EMBPERL_OPTIONS 26214

and it seems to fix it ... but is it the right switch? 

Somehow I can't access http://perl.apache.org/embperl now. From google's
cache, it didn't seem to me it talked about my problem specifically. (The
page was in German and to my shame I have a short knowledge of German.)

Also, on another host, I used to have 
	PerlSetEnv EMBPERL_OPTIONS 278528
and it has the same problem. I changed it to
	PerlSetEnv EMBPERL_OPTIONS 278544
(added 16) but it doesn't work. ... What gives?



Ben Kim
http://benix.tamu.edu


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


RE: epl page printing headers

Posted by Gerald Richter <ri...@ecos.de>.
> 
> A page with this code only
> 
> [+"Jello"+]
> [- print "Hello"; -]
> 

You need to say 

  print OUT "Hello"

Then it will work

Gerald


 
** Virus checked by BB-5000 Mailfilter ** 


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org