Think of a Number

Your guess $guess is <% switch (guess) { case {it == goal}: out << 'correct!'; break case {it < goal} : out << 'too low' ; break case {it > goal} : out << 'too high'; break } %>

What"s your guess (0..100)?