in reply to how to know if a databse exists before i delete it?
See &DBI::data_sources. It can be called before you even have a DBI handle.
After Compline,Zaxo