Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Solving the real problemby lachoy (Parson) |
on Aug 30, 2002 at 10:46 UTC ( [id://194057]=note: print w/replies, xml ) | Need Help?? |
Exactly: you need some strategy to deal with the problem of overwrites rather than designing a whole system so they don't happen. You can create a unique ID on fetch, you can have a timestamp field automatically update on an insert/update and compare them before updating the object. Plus there's always the strategy of 'last-write wins', which is a legitimate trade-off in many situations. Chris
In Section
Seekers of Perl Wisdom
|
|