On 3/8/07 7:33 PM, Michael Reece wrote:
> here's what i came up with:
> 
> in package My::RDBO::_base,
> 
> sub meta_class { 'My::RDBO::_meta' }
> 
> and then,
> 
> package My::RDBO::_meta;
> use base 'Rose::DB::Object::Metadata';
> 
> sub auto_prime_caches { 0 }
>
> is this the expected way to do this sort of thing?

Yes, only perhaps with a less creepy metadata class name :)  Making a custom
metadata subclass is a common way to change default behavior.  It needn't be
a "hidden" class with a name like "_meta".  Just call it My::RDBO::Metadata.

-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