just noticed this:

if i load something with a with_objects, and get a structure like this:

        $loaded{
                field=> value,
                field=> value,
                field=> value,
                with_object=> [
                        {
                                field=> value,
                        },
                        {
                                field=> value,
                        },
                ]
        }

while looping the with_object I , of course, can update and delete

but deleting doesn't remove the item from the parent data structure--  
and all the vars are still there

to get around it, i do:

foreach my $obj ( $loaded->with_object ) {
        $obj->delete;
        $obj= undef;
}

maybe in the future, auto-destruction could be rolled in?

also, does anyone have a clue how I can push the caller into the  
object metadata?  i'm just screwing around, and I 'think' that i'd  
like to track how objects were loaded (ie: load; or the name of a  
manager class sub )

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to