hesco has asked for the wisdom of the Perl Monks concerning the following question:
The first sign of error reads: SQL ERROR: Bad table or column name 'vasample;' has chars not alphanumeric or underscore!, and then it generally breaks down from there.
The field names from the first line are defined as follows:
"random","memberid","address1","address2","county","local","state","zip","zip4"," hod","vasenate","congress","district"
I have a sample file from the client with data and the results she produced doing my module's task manually. I need to loop through that csv file, pull arguments and expected results from each record and use those to test the code I'm working on tonight.
Any ideas would be appreciated.
-- Hugh
UPDATE:
almut takes the prize here. As soon as I deleted that semicolon "in my table name" (who knew?), I got 49 records of data come flooding by. Thanks loads.
My code reads:
Replies are listed 'Best First'. | |
---|---|
Re: DBD::CSV issues querying file
by almut (Canon) on Jan 14, 2007 at 11:53 UTC | |
Re: DBD::CSV issues querying file
by jZed (Prior) on Jan 15, 2007 at 16:55 UTC |