Name : perl-Prompt-Timeout
| |
Version : 1.03
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp151.4.1
| Date : 2018-12-03 23:04:04
|
Group : Development/Libraries/Perl
| Source RPM : perl-Prompt-Timeout-1.03-lp151.4.1.src.rpm
|
Size : 0.01 MB
| |
Packager : (none)
| |
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.
If you want to disable inactivity timer if any key is pressed during prompt(), you can invoke it with another optional parameter:
my $res = prompt ( $question, $default, $timeout, 1 );
Once a key is pressed, inactivity timer is disabled.
When $timeout value is omitted, it assumes 60 seconds.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/openSUSE_Leap_15.1/noarch |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
perl(Prompt::Timeout)
perl-Prompt-Timeout
Requires :