Package : perl-Prompt-Timeout
Package details
Summary: Prompt() with auto-selecting default value in case of inactivity
Description:
This module provides only one function, prompt(), and it's exported by
default.
prompt
my $res = prompt ( $question, $default, $timeout );
Prints a $question and waits for the input. If no keys are pressed
during $timeout seconds, $default is assumed. When pressing just Enter
key, $default is assumed. If prompt() detects that it is not running
interactively, $default will be used without prompting too.
URL: https://metacpan.org/release/Prompt-Timeout
License: GPL+ or Artistic
Maintainer: nobody
Description:
This module provides only one function, prompt(), and it's exported by
default.
prompt
my $res = prompt ( $question, $default, $timeout );
Prints a $question and waits for the input. If no keys are pressed
during $timeout seconds, $default is assumed. When pressing just Enter
key, $default is assumed. If prompt() detects that it is not running
interactively, $default will be used without prompting too.
URL: https://metacpan.org/release/Prompt-Timeout
License: GPL+ or Artistic
Maintainer: nobody
List of RPMs
- perl-Prompt-Timeout-1.30.0-10.mga9.noarch.rpm (Mageia 9, armv7hl media, core-release) Install