http://qs321.pair.com?node_id=665763


in reply to Perl DBI and mySQL

quote() is your friend.

Update:

Also, this:

qq{INSERT INTO mfa.genome ($cc) VALUES ("$vv")};

Parses out to this:

INSERT INTO mfa.gnome (field1, field2) VALUES ("value1, value2")

The quotes confuse MySQL.