why we can't open a dir , and return a file list   .

a=File.open(".")
a.each_line{|f| p open(f) }

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