Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-IO-Prompt-Hooked | Distribution: Mageia |
Version: 0.100.0 | Vendor: Mageia.Org |
Release: 9.mga9 | Build date: Sun Mar 20 09:33:15 2022 |
Group: Development/Perl | Build host: localhost |
Size: 26562 | Source RPM: perl-IO-Prompt-Hooked-0.100.0-9.mga9.src.rpm |
Packager: umeabot <umeabot> | |
Url: https://metacpan.org/release/IO-Prompt-Hooked | |
Summary: Simple prompting with validation hooks |
IO::Prompt::Tiny is a nice module to use for basic prompting. It properly detects interactive sessions, and since it's based on the 'prompt()' routine from the ExtUtils::MakeMaker manpage, it's highly portable. But the IO::Prompt::Tiny manpage is intentionally minimal. Often one begins wrapping it in logic to validate input, retry on invalid, limit number of attempts, and alert the user to invalid input. the IO::Prompt::Hooked manpage adds simple validation, attempt limiting, and error handling to IO::Prompt::Tiny's minimalism. It does this by allowing you to supply simple Regexp objects for validation, or subroutine callbacks if you need finer control. "But we already have the IO::Prompt manpage for non-trivial needs.", you might be thinking. And you're right. But have you read its POD? It's far from being simple, and is not as portable as this module. the IO::Prompt::Hooked manpage aims to provide the portability of IO::Tiny, and easy to use hooks for input validation.
GPL+ or Artistic
* Sun Mar 20 2022 umeabot <umeabot> 0.100.0-9.mga9 + Revision: 1804138 - Mageia 9 Mass Rebuild
/usr/share/doc/perl-IO-Prompt-Hooked /usr/share/doc/perl-IO-Prompt-Hooked/Changes /usr/share/doc/perl-IO-Prompt-Hooked/META.json /usr/share/doc/perl-IO-Prompt-Hooked/META.yml /usr/share/doc/perl-IO-Prompt-Hooked/MYMETA.yml /usr/share/doc/perl-IO-Prompt-Hooked/README /usr/share/doc/perl-IO-Prompt-Hooked/examples /usr/share/doc/perl-IO-Prompt-Hooked/examples/mytest.pl /usr/share/man/man3/IO::Prompt::Hooked.3pm.xz /usr/share/perl5/vendor_perl/IO /usr/share/perl5/vendor_perl/IO/Prompt /usr/share/perl5/vendor_perl/IO/Prompt/Hooked.pm
Generated by rpm2html 1.8.1
Fabrice Bellet, Sat Aug 31 08:25:44 2024