From: Li Chen Date: 2006-10-21T00:25:24+09:00 Subject: problem with reading file Hi folks, I read a file in the following format,extract the second column only, and push them into an array. My problem is that Ruby reads them as strings(based on array.inspect) but not as numbers so it is impossible for me to do the calculation. Any comments? Thanks, Li ###filen name: array.text A 1 B A 2 B A 3 B A 4 B A 5 B A 6 B ... ###script equire 'enumerator' array=Array.new File.open('array.text').each{|line| array<