From: Brian Candler Date: 2010-07-01T00:41:29+09:00 Subject: Re: Reading String Data as a File James Edward Gray II wrote: > I'm open to suggestions and I do take patches. Specifically, I'd like to see how to parse CSV from stdin. You provide an example in the opposite direction: # FCSV($stderr) { |csv_err| csv_err << %w{my data here} } # to $stderr A bit more experimentation suggests that FCSV($stdin).each { |a,b,c| p a,b,c } works, so if that's a reasonable way to drive the library, I'd like to see that mentioned under shortcuts. (I thought I'd tried that before and it failed, but I must have done something different) -- Posted via http://www.ruby-forum.com/.