Name : perl-Prompt-Timeout
| |
Version : 1.03
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 4.2
| Date : 2015-11-20 23:32:29
|
Group : Development/Libraries/Perl
| Source RPM : perl-Prompt-Timeout-1.03-4.2.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/SLE_11_SP4/noarch |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
perl(Prompt::Timeout)
perl-Prompt-Timeout
Requires :