On 1/31/07, Ted Zlatanov <[EMAIL PROTECTED]> wrote: > I would also ask for a load_speculative() method, which simply calls > load with (speculative=>1). I know about default_load_speculative, > this is a local override. Yes, it pollutes the namespace--I think > it's worthwhile.
Something like this should go in Helpers, but really, it's only a few more characters to actually put the code in your common base class. The helper call: use Rose::DB::Object::Helpers 'load_speculative'; vs. the actual code: sub load_speculative { shift->load(speculative => 1, @_) } Looks like about 9 fewer characters for the Helper :) -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