Synopsis
$dbh->tables($catalog, $database, $table, $type)
This function returns an array containing a list of tables
and views for a database handle. In MySQL, the parameters are ignored
and the values are drawn from the database handle. Here is an
example:
my @tables = $dbh->tables();
foreach $table(@tables) {
print "$table \n";
}