DBD-SQLite - create database, check for table

Posted on Thu Feb 14 19:06:25 2008 by jpolache
create database, check for table
I am using DBD::SQLite in a perl script and am very happy with it. I would like to add the capability to check at script start if the database exists, and if not, create it and the same with the one table the script requires. I looked at perldoc DBD:SQLite and perldoc DBI but if the answer was there I missed it. Any hints?
Direct Responses: 7107 | Write a response