in reply to y/n input in a captive interface
I guess you won't get better than ExtUtils::MakeMaker::prompt, which doesn't do the "one-key" feature you want.