[Chicago-talk] zipcode

Paul Baker pbaker at where2getit.com
Fri Feb 27 10:33:45 CST 2004


On Feb 27, 2004, at 10:01 AM, Dooley, Michael wrote:

> ok if you have a CSV file that has 12+ fields.

Have you thought about using one of the CSV modules from CPAN? These 
will properly handle if fields are wrapped in quotes for instance.

Another thing to do would be to split the fields on comma into an 
array. Do your work on field 11. And then join them back together.

-- 
Paul Baker

"Yes, we did produce a near-perfect republic. But will they keep it? Or 
will they, in the enjoyment of plenty, lose the memory of freedom?”
          -- Thomas Jefferson in a letter to John Adams

GPG Key: http://homepage.mac.com/pauljbaker/public.asc




More information about the Chicago-talk mailing list