>
> File.foreach('path/to/your/file').first
>

What if I use:

line = FasterCSV.foreach(filename).first

giving the error:
Uncaught exception: no block given
:(

-- 
Posted via http://www.ruby-forum.com/.