Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: mod_perl/Class::DBI application returning inconsistent results

by Joost (Canon)
on Mar 15, 2005 at 21:35 UTC ( #439776=note: print w/replies, xml ) Need Help??


in reply to mod_perl/Class::DBI application returning inconsistent results

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.

  • Comment on Re: mod_perl/Class::DBI application returning inconsistent results

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://439776]
help
Chatterbox?
[ambrus]: davies: that option is the default. and it's not really "force", it just hides the button.
[marto]: yes, not reading the errors displayed has been a cause of this type of report in the past
[nysus]: Ambrus, ah. I think that was the problem. I'll try. Thanks!
[davies]: Ambrus: you've missed it by a couple of weeks, but consider next year's London Perl Workshop.

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2017-12-15 11:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (431 votes). Check out past polls.

    Notices?