From: brabuhr@... Date: 2011-01-12T10:41:33+09:00 Subject: Re: Read .csv file. Cant obtain data > However, the output came like this: > 0 rows > Hello World > > Im pretty sure my .csv file has data in it. But when i run this script, > non of the data come out. I wonder why?? Can I assume since you asked another question about converting a CSV to YAML, you were able to read your file? >> require 'csv' => true >> CSV.foreach('foo.csv') do |row| ?> p row >> end ["a", "b", "c"] ["1", "2", "3"] ["4", "5", "6"] ["7", "8", "9"]