NAME
Pcore::Util::Term
METHODS
prompt
Prompting for user input and returns received value.
my $res = Pcore::Util::Prompt::prompt($query, \@answers, %options);
OPTIONS
default - default value, returned if enter pressed with no input;
confirm - if true, user need to confirm input with enter;
pause
Blocking wait for any key pressed.
Pcore::Util::Prompt::pause([$message], %options);
OPTIONS
timeout - timeout in seconds;