Hacking the object index
[prev]
[thread]
[next]
[Date index for 2004/09/15]
I'm having some problems with object scope which are resulting in errors
such as the following:
Operation `bool': no method found, argument in overloaded package
Class::DBI::Object::Has::Been::Deleted at
../perl5/Class/DBI/Relationship/MightHave.pm line 46.
As you can see by the MightHave reference, I have classes with
relationships. In one case, I was able to simply undef all objects and
move on. In another case, I've tried to find all possible instances that
I may have instantiated but am still getting the error.
Is there a way to dump the contents of the %Live_Objects index to see
what I'm missing? For now I've hacked in support for this.
Also, is there any way to get CDBI to give me the original class of a
deleted object? That would be *really* nice in some situations.
Thanks,
William
--
Knowmad Services Inc.
http://www.knowmad.com
|
Hacking the object index
William McKee 21:32 on 15 Sep 2004
|