Package : perl-Prompt-Timeout > RPM : perl-Prompt-Timeout-1.30.0-10.mga9.noarch.rpm
Basic items
InstallName | perl-Prompt-Timeout |
Version | 1.30.0 |
Release | 10.mga9 |
URL | https://metacpan.org/release/Prompt-Timeout |
Group | Development/Perl |
Summary | Prompt() with auto-selecting default value in case of inactivity |
Size | 8KB |
Arch | noarch |
License | GPL+ or Artistic |
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.
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.
Media information
Distribution release | Mageia cauldron |
Media name | core-release |
Media arch | i586 |
Advanced items
Source RPM | perl-Prompt-Timeout-1.30.0-10.mga9.src.rpm |
Build time | 2022-03-20 13:04:14 |
Changelog | View in Sophie |
Files | View in Sophie |
Dependencies | View in Sophie |