Re: 200 OK error with Text::Template

2004-07-26 Thread Stas Bekman
Garrison Hoffman wrote: On Mon, 2004-07-26 at 14:52, Stas Bekman wrote: All handlers require a return status. You can read more about this here: http://perl.apache.org/docs/2.0/user/handlers/intro.html#What_are_Handlers_ http://perl.apache.org/docs/2.0/user/handlers/intro.html#Handler_Return_Value

Re: 200 OK error with Text::Template

2004-07-26 Thread Garrison Hoffman
On Mon, 2004-07-26 at 14:52, Stas Bekman wrote: > All handlers require a return status. You can read more about this here: > http://perl.apache.org/docs/2.0/user/handlers/intro.html#What_are_Handlers_ > http://perl.apache.org/docs/2.0/user/handlers/intro.html#Handler_Return_Values > > In Perl if

Re: 200 OK error with Text::Template

2004-07-26 Thread Stas Bekman
Garrison Hoffman wrote: On Mon, 2004-07-26 at 13:25, Randy Kobes wrote: Does it help to have return Apache::OK; as the last line in the handler? (you might also want to return Apache::SERVER_ERROR, and log the $Text::Template::ERROR, if that case arose). It does indeed. Can someone explain wha

Re: 200 OK error with Text::Template

2004-07-26 Thread Randy Kobes
On Mon, 26 Jul 2004, Garrison Hoffman wrote: > I'm attempting to use Text::Template w/ mp2. The following code > generates no error in the log, produces the expected output but also > tacks on the 200 OK The server encountered an internal error... > > Is this an issue with Text::Template or am I

Re: 200 OK error with Text::Template

2004-07-26 Thread Garrison Hoffman
On Mon, 2004-07-26 at 13:25, Randy Kobes wrote: > Does it help to have >return Apache::OK; > as the last line in the handler? (you might also want to > return Apache::SERVER_ERROR, and log the > $Text::Template::ERROR, if that case arose). It does indeed. Can someone explain what's happening

200 OK error with Text::Template

2004-07-26 Thread Garrison Hoffman
I'm attempting to use Text::Template w/ mp2. The following code generates no error in the log, produces the expected output but also tacks on the 200 OK The server encountered an internal error... Is this an issue with Text::Template or am I doing something wrong? package Codefix::ttdemo; use st