in reply to DBI connection to multiple databases
Just off the top of my head (not tested, debugged etc)
use DBI ; $dbh1 = DBI::connect(...) ; $dbh2 = DBI::connect(...) ; $sth1 = $dbh1->prepare(...) ; $sth1->execute(...) ; @row = $sth->fetchrow_array(...) ; $dbh2->do(..., @row) ;
|
|---|