The dbi interface that perl uses to connect to db's..

when you say

$dbh = DBI -> connect();

You are creating an object called $dbh, or an "instance" of the DBI class.

Anything you do to $dbh effects that object..

So now when you want to make a query to that db, you use $dbh..

$blah = $dbh -> prepare ("SELECT .....");

and now you can execute the $blah object to get the results.. etc..

You can create multiple db connections and store them in different objects
and then do queries on which ones you please..

Something like that anyway..

------------------------------------------------
Jeremy 'PeelBoy' Amberg