Re: Embperl and buffered output

2001-11-21 Thread Gerald Richter
hey, > Thanks for the reply. I went ahead and set those but still no dice. > It just sits there until things are completed and then displays the whole > page. Any other ideas? > Make sure optEarlyHttpHeader and dbgFlushOutput are really set by inserting [+ $optEarlyHttpHeader +] [+ $dbgFlushOut

Re: ANNOUNCE: Embperl 2.0b4

2001-11-21 Thread Gerald Richter
> On Tue, Nov 20, 2001 at 05:49:59PM +0100, Gerald Richter wrote: > > Main new feature since 2.0b3 is the beginning support for XML, namely using > > libxslt or Xalan to do XSLT transformations and the implementing of recipes, > > lets just say i was going to compile embperl for use by lots of pe

Re: ANNOUNCE: Embperl 2.0b4

2001-11-21 Thread Angus Lees
On Tue, Nov 20, 2001 at 05:49:59PM +0100, Gerald Richter wrote: > Main new feature since 2.0b3 is the beginning support for XML, namely using > libxslt or Xalan to do XSLT transformations and the implementing of recipes, lets just say i was going to compile embperl for use by lots of people.. sh

Re: Embperl 2.0b4 - ExecuteReq missing

2001-11-21 Thread Gerald Richter
> > There would appear to be some stuff missing in the cleanup routines for the > latest Embperl. I am presently having to bounce my Apache everytime I make > a change to a .epl file or Embperl detects a syntax error: > > [Thu Nov 22 03:00:25 2001] [error] [4763]ERR: 24: Error in Perl code: > U

Re: Embperl and buffered output

2001-11-21 Thread Gerald Richter
> I am trying to have the results of a ping displayed in the browser window in > realtime. I read somewhere that embperl buffers the page before sending it. > I ahve tried to disable this by setting EMBPERL_OPTIONS to include the > optEarlyHttpHeader, I also tried to use optRedirectStdout. Neither

Re: Strange error in Embperl code. Newbie is probably missing something significant!

2001-11-21 Thread Gerald Richter
> I have this line in my Embperl code, calling on a routine defined in > constants.epl in EmbperlObject. >if ($req->{check_email_addr} ($fdat{User_Email})) { > If check_email_addr is a code ref, use if (&{$req->{check_email_addr}} ($fdat{User_Email})) { if this is not

RE: Embperl and buffered output

2001-11-21 Thread Webb, Trey
You are right about Perl buffering by default, but it only buffers until it hits a newline. In the example I ensure that a newline is present. I am setting optEarlyHttpHeader in the httpd.conf file not in the script. Thanks Anyway. Somebody help! :-) -Original Message- From: Ed Grimm [mai

RE: Embperl and buffered output

2001-11-21 Thread Ed Grimm
You haven't set $|=1. Perl itself is therefore buffering. According to the embperl docs, if you set optEarlyHttpHeader (by bit value; it doesn't affect anything if set after the page starts processing) and you set $|=1 on the page (well, embperl docs assume you know perl, so don't mention this,

RE: Embperl and buffered output

2001-11-21 Thread Webb, Trey
I think you mean that HTTP is not a 'push' technology, because in fact your browser is pulling the information from the web-server. In any event I am well aware of how it works, but that has nothing to do with my question. For example there are CGI scripts that allow users to enter an IP address i

URL encoding

2001-11-21 Thread Thoren Johne
hi, i have problem with the URL encoding capabilities of embperl. assuming this code: [- $name = 'mein name'; $myhash = { t1 => 'hallo welt', t2 => 'umlaut รค' } -] [- $escmode = 0 -] escmode 0 escmode 0 [- $escmode = 1 -] escmode 1 escmode 1 [- $escmode = 2 -] escmode 2 escmode 2 [- $escmode =

Embperl and buffered output

2001-11-21 Thread Webb, Trey
I am trying to have the results of a ping displayed in the browser window in realtime. I read somewhere that embperl buffers the page before sending it. I ahve tried to disable this by setting EMBPERL_OPTIONS to include the optEarlyHttpHeader, I also tried to use optRedirectStdout. Neither s

Strange error in Embperl code. Newbie is probably missing something significant!

2001-11-21 Thread Scott Chapman
I have this line in my Embperl code, calling on a routine defined in constants.epl in EmbperlObject. if ($req->{check_email_addr} ($fdat{User_Email})) { I get this error back: [515]ERR: 24: Line 9: Error in Perl code: syntax error at //htdocs/userpass.epl line 57, near "} (" Apa