From: Dirk Meijer Date: 2006-06-06T22:45:23+09:00 Subject: leaving files open ------=_Part_24377_180608.1149601519451 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline hello list! i've learnt to open files like this: File.open("foo", "w") do |file| file.write "foo" end because everyone always says it's _dangerous_ to leave files open... just, wondering, what could really happen? suppose i write a program that write to a file, infinitely, i'll want to shut this program off after a while, the file will not properly close... what could actually happen? greetings, Dirk. ------=_Part_24377_180608.1149601519451--