...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
--
You said you wanted to be around when I made a mistake; well, this could be it, sweetheart.
In reply to Re: Best Perlish way to test if a mysql table exists?
by Solo
in thread Best Perlish way to test if a mysql table exists?
by punch_card_don
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |