in reply to Re^3: perl command line prompts
in thread perl command line prompts

and perhaps even:
if ($answer =~ /^y/i) {
To work with "Yup", "Yes", "yay" and "yak"