in reply to Re: Continure when "y" and none for "n"
in thread Continure when "y" and none for "n"

In the case of user input, a regex is generally better.

if ($choice ~= /^y(es)?|^no?/i) for example, with case insensitivity and verbose insensitivity.