Re: execution vs output timing

2002-04-07 Thread Gerald Richter
> Given > > [- some code here -] > some html here > > is it guaranteed that the code block will be executed completely *before* > the html block is sent to the browser? > Yes. In the default setting, _all_ code is executed before the first byte in the send to the server, so Embperl can catch er

Re: execution vs output timing

2002-03-24 Thread Kee Hinckley
At 6:37 PM -0500 3/24/02, Frank Sweetser wrote: >Given > >[- some code here -] >some html here > >is it guaranteed that the code block will be executed completely *before* >the html block is sent to the browser? I can't see how it would be otherwise. After all, I've occasionally done: [- Apache

Re: execution vs output timing

2002-03-24 Thread David Lloyd
Hmmm... > [- some code here -] > some html here > > is it guaranteed that the code block will be executed completely *before* > the html block is sent to the browser? I think it is. For example, if you modify a global variable in the [- -] block then use a [+ +] block afterwards you ALWAYS se

execution vs output timing

2002-03-24 Thread Frank Sweetser
Given [- some code here -] some html here is it guaranteed that the code block will be executed completely *before* the html block is sent to the browser? -- Frank Sweetser fs at wpi.edu, fs at suave.net| $ x 18 Full-time WPI Network Tech, Part time Linux/Perl guy | Of course, I reserv