OK, so I can't think my way out of a paper this morning.

Can I access FasterCVS#lineno while inside a foreach?

For example,

  $ cat << EOF > csv_file
  one
  two
  three
  EOF

  $ ruby -rubygems \
   -e'require "fastercsv";FasterCSV.foreach("csv_file")\
   {|r| puts "lineno somehow"}'

Thanks,
--
Bil Kleb
http://fun3d.larc.nasa.gov