![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
Accessing multiple Databases with Class::DBIby !unlike (Beadle) |
on Jan 21, 2004 at 12:54 UTC ( #322860=perlquestion: print w/replies, xml ) | Need Help?? |
!unlike has asked for the wisdom of the Perl Monks concerning the following question: My problem is thus: I am currnetly access a DB with DBI. Iwould like to migrate to Class::DBI. However one of my SELECT queries must query another database. The problem is I do not have direct access to the DB. Some sample code should explain the problem:
How do I achieve this with Class::DBI? My reading of the Class::DBI docs does not show if this is possible. I agree that the correct solution would be to connect to db2 as I did to db1. However this isn't possible for "security reasons". Personally I disagree with this but it is not an argument that I will win. :( !unlike I write my Perl code like how I like my sex: fast and dirty. ;)
Back to
Seekers of Perl Wisdom
|
|