in reply to Create database from perl script help

We do not know what DBD you are using.

Assuming the create database works the CAG_MAIN table cannot exist.

As another monk said, use placeholders.

I do not see anything else wrong with your do method call to insert, what is the error you get?

  • Comment on Re: Create database from perl script help

Replies are listed 'Best First'.
Re^2: Create database from perl script help
by Anonymous Monk on Dec 15, 2008 at 22:34 UTC
    No, inserting the data into the database works fine, which i have stated. It is a mySQL database (sorry for not including the) what i want to do is use a command to run the first script, which creates a database, and formatted table, the second code was an example of a do command, and has NOTHING TO DO WITH WHAT I WANT TO DO