Break

var lim = 20
loop {
    say (var n = lim.irand)
    n == 10 && break
    say lim.irand
}

Last updated