Re: Accessing the object index
[prev]
[thread]
[next]
[Date index for 2004/08/10]
On Tue, 2004-08-10 at 09:25, Ian McDonald-ONLINE wrote:
> Are there any undocumented methods for examining the object index.
No. It's a closure, so you'd need to add a method to Class/DBI.pm to
get access to it.
> I'd like to be able to do:
>
> foreach ($class->in_object_index) {
> $_->update();
> }
The live object index will be empty unless you have objects currently in
scope in memory somewhere else. You probably should be tracking the
ones you want to update in your own code rather than trying to use the
object index.
- Perrin
|
|
Re: Accessing the object index
Perrin Harkins 18:09 on 10 Aug 2004
|