So In using Config::INI::Reader i define which DB id like to use<br><br>[servers]<br>target = serverx<br>source = serverzz<br><br>and in my code do<br><br># servers to use<br>my $source = $configuration->{'servers'}->{'source'};
<br>my $target = $configuration->{'servers'}->{'target'};<br clear="all"><br>then<br>my $ldbh = caiDB->$source();<br>my $rdbh = caiDB->$target();<br><br>the obvious havoc ensues.<br><br>my DB connections are pulled into being through the
caiDB.pm Id just like to be able to name them<br>in the ini file.<br><br>As a friend of mine would say: <br><br> How to do this with maximal peace and serenity?<br><br>Or I could take a lesson from Schmidt and leave well enough alone.
<br><br>Ted<br><br>-- <br>If you mess with a thing long enough, it'll break.<br> -- Schmidt