B
Bil Kleb
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,
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,