> 1) Is there anything like Perl's continue block available?  This is not
> next, but a block that gets executed on each loop, before the
> condition is tested, similar to the third block of a for loop does.  Ex:
>            i = 10
>            while i > 0
>                 # do stuff
>                 x = rand
>                 if x > 0.5 next
>                 p "not always get here"
>            continue
>                i -= 1
>            end
>
> In the above example, i -= 1 gets executed at the end of the while loop
> or if next is called.

This oughta do it:

  i = 10
  while i > 0
    begin
      # do stuff
      if (x = rand) > 0.5 then next
      puts "not always get here"
    ensure
      i -= 1
    end
  end

Gavin