in reply to Re: Dynamically change tables for Class::DBI
in thread Dynamically change tables for Class::DBI

Thanks. In the real situation, I may not have access to $foo, i.e., some other part of the program may have made the query. If I call the FooBar->clear_object_index(), how much a performance hit is that? granted it is ugly.

Update. further reading of the doc shows that the cache will be cleared if $foo is out of scope. That should be enough for me.

  • Comment on Re^2: Dynamically change tables for Class::DBI

Replies are listed 'Best First'.
Re^3: Dynamically change tables for Class::DBI
by perrin (Chancellor) on Feb 18, 2005 at 21:55 UTC
    For more help on this, there is info on the wiki here.