I'm trying to list the tables within one of my mysql databases.
According to the perldoc for DBD::mysql, I should use the DBI standard
interface: $dbh->tables(); over the depreciated $dbh->func('_ListTables').
On various websites, I've seen both used and recomended.But after searching through perldoc.com, I saw that the $dbh->tables() call was new and experimental and may be changed. So I've tried both calls, and neither one has worked. I've gone into the database, to double check that there exist actual tables to be displayed, and there are. Is there a proper way to query a database for the tables within it? Also, if this is not the proper list to post this question to, my appologies. I'm using perl 5.005_03, DBI version 1.20 (?) and DBD::mysql version 2.1004 (?) on i386. (Note: I got the version numbers by grep-ing through the respective perl modules. If there is an "official" manner to check the version, I'd be intrested in knowing it.) Thank you in advance, Cary
