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.
|
---|
In Section
Seekers of Perl Wisdom