(In response to news:1108274165.071278.164610 / z14g2000cwz.googlegroups.com 
by Zehao)

> File.open("testfile") |aFile| do
>    print a while a=aFile.gets
> end
> 

Isn't that File.open('testfile') do |aFile| ? 

k