From: matz@... (Yukihiro Matsumoto) Date: 2000-02-15T09:18:59+09:00 Subject: [ruby-talk:01351] Re: example using throw-catch Hi, In message "[ruby-talk:01344] example using throw-catch" on 00/02/15, Tomoyuki Kosimizu writes: |I forgot to tell about lib/ruby/pstore.rb as example using |throw/cath. pstore.rb uses throw/catch so that abort() or commit() |work completely. If pstore.rb used exception instead of throw/catch, |someone could rescue exception. As a result, abort() or commit() |would be incomplete. lib/find.rb also uses catch/throw to prune traversal.