From: Vivek Nallur Date: 2003-01-31T18:39:23+09:00 Subject: Re: break out of a loop Thanks to both Joel and Gavin for their replies. Ruby's exception handling, though neat, is something that I'd rather do for a bigger/structured/complicated program. For a script that's hardly a screenful, the throw-catch solution seems nice enough. Infact, now that I've seen it, I seem to recall seeing something like this on rubygarden as well(hindsight is 20/20 :) ). Thanks anyway, both of you. regards Vivek -- A closed mouth gathers no feet