in reply to DBD::DBM file creation

First of all: you're not using MySQL...you're using dbi::DBM. Or basically DBM file format with dbi, dbi being an abstraction layer that allows access to different kinds of "databases" with standard SQL. Secondly, if you tell the database to create table 100 times, it will create 100 tables, which will depend on the exact database as to how many actual system files it creates. It's good that you're hacking some code and trying to get it to do what you want -- but without a basic understanding of databases and their underlying concepts, you will be forever confused as to how you're supposed to store/retrieve the data. Don't mean to be mean or anything with what i said...but I do think that you'd seriously benefit from a basic database and dbi tutorial
the hardest line to type correctly is: stty erase ^H

Replies are listed 'Best First'.
Re^2: DBD::DBM file creation
by hmerrill (Friar) on Nov 29, 2004 at 14:15 UTC
    I agree with aquarium - my advice is to pick a database, get yourself a good beginners book for that database, and read. MySQL is a good database, and Paul Dubois wrote a good intro book called "MySQL", and I think there may(?) be a 2nd edition out but not sure about that. I learned MySQL using Paul's book - excellent book that takes you through the whole thing, including MySQL setup and authentication, and gives you an SQL primer too. The book pretty much assumes you are a database beginner.

    HTH.