[CDBI] Re: construct sucks.

"Edward J. Sabol" <sabol-2oVx0MVsMgiP/[email protected]>
Newsgroups gmane.comp.lang.perl.modules.class-dbi
Message-ID <[email protected]>
Perrin Harkins wrote:
> The potential problem with this change (and I think this was actually
> discussed earlier on the list) is that somewhere else you may have
> already updated one of those keys and not saved it yet, so you'd be
> overwriting that update here. You could check to see if the keys have
> been changed before writing the new data to the object, although this
> will slow it down.

If this problem (and any others that might crop up) were solved, however, it
does seem like it could be a very useful addition, even with the extra
checking. More experimentation and a test case (if there isn't already one)
that properly touches on the potential problem cited by Perrin above are
needed.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.