I wonder what's the proper way to break out of nested loops,
and how to do some statement if the loops finished normally.
right now i use the construct

print "nomatch\n" unless for i in 0...5 do
  break unless for j in 5...8 do
    if i==j
      print "match\n"
      break
    end
  end
end

but it feels like cheating:) and is not nearly as readable as i'd like
it to be. i could of course do it nicely by seperating the loops into
a function, but was wondering if there's another way...

regards,

-john tromp