Some connect_cached() issues
 
 
- Because connect_cached() may return a new connection...
- 
- it’s important to specify all significant attributes within the connect() call
- e.g., AutoCommit, RaiseError, PrintError
- So pass the same set of attributes into all connect calls
- 
- 
 
- Similar, but not quite the same as Apache::DBI
- 
- Doesn’t disable the disconnect() method.
- 
 
- The caches can be accessed via the CachedKids handle attribute
- 
- $dbh->{CachedKids}		- for prepare_cached()
- $dbh->{Driver}->{CachedKids}	- for connect_cached()
- Could also be tied to implement LRU and other size-limiting caching strategies
tie %{$dbh->{CachedKids}}, SomeCacheModule