On 5/18/06, Yukihiro Matsumoto <matz / ruby-lang.org> wrote:
> |I think the syntax would be changed as below:
> |        File.open('somefile') do |f|
> |         puts f.read
> |       rescue
> |          puts "Can't open"
> |        end
>
> Which do you expect from above code?

I expect (a), personally. The only thing that could confuse it is the
bit about returning or breaking from a block/proc that I *still* don't
quite understand.

-austin
-- 
Austin Ziegler * halostatue / gmail.com
               * Alternate: austin / halostatue.ca