in reply to My first MySQL database

Hi, One thing I noticed right off was that you do not confirm if you connect to the database or not. Add this type line to your code when you are dealing with the database handle.
my $dbh = Mysql->connect($poemDB, sulfericacid, ----) or die $Mysql::db_errstr;
Also where is $poemDB declared from, use the -w option to see if it has been declared when you use it. That should give you a start. Also make sure you quote "sulfericacid" as a string too.
Hope this helps and good luck

Replies are listed 'Best First'.
Re: Re: My first MySQL database
by sulfericacid (Deacon) on Feb 10, 2003 at 19:03 UTC
    Thanks for your suggestions jobber!

    "Age is nothing more than an inaccurate number bestowed upon us at birth as just another means for others to judge and classify us"

    sulfericacid