I just managed to write

while True {
    ...
    break if $code eq 'exit';
    ...
}


I wonder if Rakudo could be more cleaver in this particular case and
remind me to use 'last' instead of 'break'.

Gabor

Reply via email to