Re: [Templates] Re: [OT] Apache2 speed with TT

2004-12-22 Thread Randy Kobes
On Wed, 22 Dec 2004, Robert wrote: > In article <[EMAIL PROTECTED]>, > Perrin Harkins <[EMAIL PROTECTED]> wrote: > > > On Wed, 2004-12-22 at 16:51 -0500, Robert wrote: > > > Not quite. While I would love to be running mod_perl, > > > I am limited to using CGI only. Hence the question... > > > > I

Re: [Templates] Re: [OT] Apache2 speed with TT

2004-12-22 Thread Sean T Allen
I can't speak to it on windows but we have been using A2 and MP2 for quite sometime now... ( upwards of a year )... anyway... very stable... only one mp bug that hit us and a quick upgrade took care of that... site in question was serving about 15 gigs of data a month... so... judge for yours

[Templates] Re: [OT] Apache2 speed with TT

2004-12-22 Thread Robert
In article <[EMAIL PROTECTED]>, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Wed, 2004-12-22 at 16:51 -0500, Robert wrote: > > Not quite. While I would love to be running mod_perl, I am limited to using > > CGI only. Hence the question... > > It's pretty unusual to be able to choose your web s

Re: [Templates] Re: [OT] Apache2 speed with TT

2004-12-22 Thread Perrin Harkins
On Wed, 2004-12-22 at 16:51 -0500, Robert wrote: > Not quite. While I would love to be running mod_perl, I am limited to using > CGI only. Hence the question... It's pretty unusual to be able to choose your web server but not be able to choose whether you run a specific module or not. If you're u

[Templates] Re: [OT] Apache2 speed with TT

2004-12-22 Thread Robert
On 12/22/04 1:10 PM, in article [EMAIL PROTECTED], "Perrin Harkins" <[EMAIL PROTECTED]> wrote: > On Wed, 2004-12-22 at 08:10 -0500, Robert wrote: >> I am just wondering if CGI has a speedup with Apache2 over Apache1. I have >> not googled anything that compares them in that way. So I was wondering

Re: [Templates] Unexpected errors with COMPILE_DIR and TOLERANT

2004-12-22 Thread Simon Flack
Tom Insam wrote: On Dec 22, 2004, at 10:40, Andy Wardley wrote: You're ignoring any error that is returned. That should be: $tt->process(...) || die $tt->error(); I don't suppose I can convince you to throw $tt->error all the time, can I? If I want to do something clever, I'll

Re: [Templates] [OT] Apache2 speed with TT

2004-12-22 Thread Sean T Allen
Here here, I second that... mod_perl handlers are a massive speed bump... even PerlRun scripts have a bump over regular cgi.   Perrin Harkins wrote: On Wed, 2004-12-22 at 08:10 -0500, Robert wrote: I am just wondering if CGI has a speedup with Apache2 over Apache1. I have not goog

Re: [Templates] Installing 2

2004-12-22 Thread Randy Kobes
On Wed, 22 Dec 2004, Octavian Rasnita wrote: > I have tried installing Template Toolkit using ppm after > adding some more repositories and I have got another > error: > > ppm> search Template > ... > 102. Template-Toolkit [2.14] a fast, flexible and extensible template > p~ > ... > ppm> > pp

Re: [Templates] [OT] Apache2 speed with TT

2004-12-22 Thread Perrin Harkins
On Wed, 2004-12-22 at 08:10 -0500, Robert wrote: > I am just wondering if CGI has a speedup with Apache2 over Apache1. I have > not googled anything that compares them in that way. So I was wondering if > any of you that are using TT have moved to A2 and noticed a speedup. Anyone who cares about

[Templates] Installing 2

2004-12-22 Thread Octavian Rasnita
Hi, I have tried installing Template Toolkit using ppm after adding some more repositories and I have got another error: ppm> search Template ... 102. Template-Toolkit [2.14] a fast, flexible and extensible template p~ ... ppm> ppm>install 102 No suitable target found for Template-Toolkit. p

Re: [Templates] Unexpected errors with COMPILE_DIR and TOLERANT

2004-12-22 Thread Tom Insam
On Dec 22, 2004, at 10:40, Andy Wardley wrote: You're ignoring any error that is returned. That should be: $tt->process(...) || die $tt->error(); I don't suppose I can convince you to throw $tt->error all the time, can I? If I want to do something clever, I'll eval the process st

Re: [Templates] Unexpected errors with COMPILE_DIR and TOLERANT

2004-12-22 Thread Simon Flack
Andy Wardley wrote: Simon Flack wrote: The wording of the error for the second test is a suprise - the template exists, it's just not able to cache the compiled version. That's the error thrown by File::Path::mkpath at line 877. That's the third test/second error. I was referring to: fil

Re: [Templates] Unexpected errors with COMPILE_DIR and TOLERANT

2004-12-22 Thread Simon Flack
Andy Wardley wrote: Simon Flack wrote: $tt->process($template, { data => 'Hello World' }, \$output); You're ignoring any error that is returned. That should be: $tt->process(...) || die $tt->error(); I had a 'Test::More::diag($tt->error)' a couple of lines down. I could have

[Templates] Re: Installing Template Toolkit

2004-12-22 Thread Robert
"Octavian Rasnita" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all, > > I have tried to install Template Toolkit under Windows but without > success. > I have tried: > > perl -MCPAN -e "install Template;" > > But I couldn't install it because it needed AppConfig module. I cou

[Templates] Installing Template Toolkit

2004-12-22 Thread Octavian Rasnita
Hi all, I have tried to install Template Toolkit under Windows but without success. I have tried: perl -MCPAN -e "install Template;" But I couldn't install it because it needed AppConfig module. I couldn't install this module because it gave me the following errors: AppConfig-1.56/lib/AppConfig

[Templates] [OT] Apache2 speed with TT

2004-12-22 Thread Robert
I am just wondering if CGI has a speedup with Apache2 over Apache1. I have not googled anything that compares them in that way. So I was wondering if any of you that are using TT have moved to A2 and noticed a speedup. Robert ___ templates mailing

Re: [Templates] Unexpected errors with COMPILE_DIR and TOLERANT

2004-12-22 Thread Andy Wardley
Simon Flack wrote: > $tt->process($template, { data => 'Hello World' }, \$output); You're ignoring any error that is returned. That should be: $tt->process(...) || die $tt->error(); > The wording of the error for the second test is a suprise - the template > exists, it's j

Re: [Templates] Template2/lib/Template/Plugin/File.pm: bug in File.user method

2004-12-22 Thread Andy Wardley
Alex Vandiver wrote: > This (one-character!) patch has still not been applied -- just trying to > make sure it hasn't slipped through the cracks. It had. Thanks for the reminder. Now applied in CVS. A ___ templates mailing list [EMAIL PROTECTED] htt