in reply to Best Perlish way to test if a mysql table exists?
One solution is to wrap all your queries in eval blocks to catch any errors. I'd suggest the solution you don't want--running a SHOW TABLES and rejecting any tables that aren't available. Why is that such a terrible solution? Is it too slow? Why is it not "clean and simple" enough for you?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Best Perlish way to test if a mysql table exists?
by Aristotle (Chancellor) on Jan 31, 2005 at 00:36 UTC | |
by punch_card_don (Curate) on Jan 31, 2005 at 01:14 UTC | |
by Aristotle (Chancellor) on Jan 31, 2005 at 02:25 UTC | |
by blokhead (Monsignor) on Jan 31, 2005 at 05:35 UTC | |
by Aristotle (Chancellor) on Jan 31, 2005 at 06:24 UTC | |
|
Re^2: Best Perlish way to test if a mysql table exists?
by punch_card_don (Curate) on Jan 31, 2005 at 00:28 UTC | |
by trammell (Priest) on Jan 31, 2005 at 02:17 UTC |