The
module author responded to
this related bug with a
beta [that] provides a -raw flag that causes prompt() to return the raw text that was typed in (as a string), rather than a RetVal object.
However, it looks like this -raw flag never made it to the current version of IO::Prompt.
--
No matter how great and destructive your problems may seem now, remember, you've probably only seen the tip of them. [1]