more useful options | |
PerlMonks |
Re: mod_perl/Class::DBI application returning inconsistent resultsby Joost (Canon) |
on Mar 15, 2005 at 21:35 UTC ( [id://439776]=note: print w/replies, xml ) | Need Help?? |
This is a common problem with programs using class::dbi in a persistent environment. It appears that although CDBI tries to do the right thing concerning object indexes, it is quite easy to get your scoping wrong on some objects, which leaves you with "old" objects in your process.
See http://www.class-dbi.com/cgi-bin/wiki/index.cgi?CommonProblems and DBI.pm#UNIQUENESS_OF_OBJECTS_IN_MEMORY for more discussion and solutions.
In Section
Seekers of Perl Wisdom
|
|