You might want to take a look at ResourcePool::Factory::DBI which does something similar.
You would construct a separate factory for each "alias" and then use that to get an appropriate handle.
In reply to Re: DBI Handles
by adrianh
in thread Pooling DBI handles
by LanceDeeply
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |