go ahead... be a heretic | |
PerlMonks |
Re: Best Perlish way to test if a mysql table exists?by Solo (Deacon) |
on Jan 31, 2005 at 16:31 UTC ( [id://426647]=note: print w/replies, xml ) | Need Help?? |
...I don't want to do is use a SHOW TABLES and iterate through the results... SHOW TABLES accepts a LIKE clause, though it's not clear what versions support it. The more Perlish way might be to use one of the DBIx:: modules like DBIx::DBSchema to check if each table exists.
--Solo
In Section
Seekers of Perl Wisdom
|
|