> My first impulse would be to wrap the case in a method and skip by
> calling return, ie.: 

[...snip...] 
 
> *But* that tends not to refactor nicely: if you take code that
> implements its control structure with return and factor some of it out
> into a new method, then that new method may return to the wrong place.
> If that is a fatal objection, or if you want to do it all inline, my
> next impulse would be to use catch/throw, ie:
 
[...snip...] 

Thanks a lot! I did it with function call already ...
but the second way seems to be *a lot* better.

W.
-- 
              Wejn <lists+rubytalk(at)box.cz>
(svamberk.net's Linux section, fi.muni.cz student, linuxfan)
>>>         Bored?  Want hours of entertainment?         <<<
>>>           Just set the initdefault to 6!             <<<