On 7/28/06 1:55 PM, Jonathan Vanasco wrote:
> if i load something with a with_objects, and get a structure like this:

A what now?  Data structure?  These are objects!  No poking around as if
they were mere hashes! :)  Methods are the approved way to modify the tree
of objects.  Fiddling around with the undocumented internals will only lead
to tears.  What are you trying to do?

> 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 )

You could add some tracking of the caller in an overridden version of the
new() or init() methods, calling caller(...) and saving the information
somewhere in the object.

-John



-------------------------------------------------------------------------
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