perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Perrin Harkins <per...@elem.com>
Subject Re: some children not returning newly-inserted data
Date Mon, 03 May 2004 18:29:11 GMT
On Mon, 2004-05-03 at 13:15, Dave Boodman wrote:
> OK, here's some code:

This is a little too much code to look at without any direction.  The
best thing to do would be to remove as much code as possible to get
things down to the smallest example that demonstrates the problem.  You
should also tell us which variables seem to be having the updating
problem.

I don't see any obvious scoping problems (closures) here, and you do
seem to be updating your Class::DBI objects.  I did notice that you are
creating a new Template Toolkit object on every request, which is a bad
idea because it breaks the built-in template cache and slows things down
a lot, but that's not related to the problem you're having.

- Perrin


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Mime
View raw message