On Feb 8, 2007, at 3:50 PM, John Siracusa wrote: > Is FindMeOn::RoseDB a Rose::DB subclass? If so, it has a dbh() > method that > takes an argument: > > http://search.cpan.org/dist/Rose-DB/lib/Rose/DB.pm#dbh > > No need to be evil and reach into its hash :)
Yes! When I started doing this , dbh was only a get ( ~ Rose::DB v . 72 ) -- so i had to be evil. Great update! > "Kill"? Why not just set share_db => 0 in your Manager call to > keep any of > the returned RDBO-derived objects from having a db at all? I want them to have a DB initially. begin fetch manipulate, save commit / rollback kill db do more stuff that is read only. error out if i try to save anything ( no db ) begin set db load? manipulate commit rollback its some evil dev testing stuff. not production :) >> 3) what about making the get method 'dbh' a get/set? > :) i'm hoping thats a yes... make it inline with the same awesome new functionality in RoseDB Though I guess now one could just do... $rose_db_object->db->dbh( $dbh ); though that looks really pythonic :) > You should never know what those keys are anyway! :) (Also, column > values > are stored in a few places, not just under the "expected" unadorned > names.) I know -- thats why its trivial. I was just looking to muck around with some helper functions and have some internal prefix as namespacing , and noticed that all of the rose stuff had some sort of prefix -- except db // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | SyndiClick.com | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | FindMeOn.com - The cure for Multiple Web Personality Disorder | Web Identity Management and 3D Social Networking | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | RoadSound.com - Tools For Bands, Stuff For Fans | Collaborative Online Management And Syndication Tools | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | SyndiClick.com | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | FindMeOn.com - The cure for Multiple Web Personality Disorder | Web Identity Management and 3D Social Networking | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | RoadSound.com - Tools For Bands, Stuff For Fans | Collaborative Online Management And Syndication Tools | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object