|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re^6: Pre-process csv files before usingby DrAxeman (Beadle) |
| on Aug 06, 2005 at 21:46 UTC ( #481556=note: print w/ replies, xml ) | Need Help?? |
|
I put the header data in a code tag, but it didn't get wrapped. Corion and I spoke about it.
It errors out with: Use of uninitialized value in join or string at ./runsql3.sql line 19. Use of uninitialized value in join or string at ./runsql3.sql line 23. It also prints out the column headers except the one with the period in it. My guess is that there is an error happening with the SQL SELECT statement. I don't think it likes the period. Just to clear things up, here is all my code: Everything works except when there is a . in one of the headers. Then it fails. Data in the columns that I am averaging can contain decimals, otherwise I'd just strip out all periods before starting. I'm trying to add the slpit statement, but am not sure where/how to use it.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||