perl-IO-Prompt-Hooked-0.100.0-2.mga4.noarch.rpm


Advertisement

Description

perl-IO-Prompt-Hooked - Simple prompting with validation hooks

Distribution: Mageia 4.1
Repository: Mageia Core i586
Package name: perl-IO-Prompt-Hooked
Package version: 0.100.0
Package release: 2.mga4
Package architecture: noarch
Package type: rpm
Installed size: 26.46 KB
Download size: 18.84 KB
Official Mirror: distrib-coffee.ipsl.jussieu.fr
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.

Provides

  • perl(IO::Prompt::Hooked) == 0.100.0
  • perl-IO-Prompt-Hooked == 0.100.0-2.mga4

    Install Howto

    1. Enable Mageia Core repository on "Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install perl-IO-Prompt-Hooked rpm package:
      # urpmi perl-IO-Prompt-Hooked

    Files

    • /usr/lib/perl5/vendor_perl/5.18.1/IO/
    • /usr/lib/perl5/vendor_perl/5.18.1/IO/Prompt/Hooked.pm
    • /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/mytest.pl
    • /usr/share/man/man3/IO::Prompt::Hooked.3pm.xz

    Changelog

    2013-10-19 - umeabot <umeabot> 0.100.0-2.mga4 + Revision: 527666 - Mageia 4 Mass Rebuild

    2013-06-10 - jquelin <jquelin> 0.100.0-1.mga4 + Revision: 441616 - update to 0.10

    2013-01-13 - umeabot <umeabot> 0.80.0-2.mga3 + Revision: 368531 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

    2012-11-14 - jquelin <jquelin> 0.80.0-1.mga3 + Revision: 317677 - update to 0.08

    2012-11-06 - jquelin <jquelin> 0.60.0-1.mga3 + Revision: 315117 - update to 0.06

    2012-10-24 - jquelin <jquelin> 0.50.0-1.mga3 + Revision: 309615 - update to 0.05

    2012-10-17 - jquelin <jquelin> 0.30.0-1.mga3 + Revision: 307565 - update to 0.03

    2012-10-15 - jquelin <jquelin> 0.20.0-1.mga3 + Revision: 306221 - adding missing buildrequires: - update to 0.02

    2012-10-10 - jquelin <jquelin> 0.10.0-1.mga3 + Revision: 304274 - adding missing buildrequires: - adding missing buildrequires: - imported package perl-IO-Prompt-Hooked

    2012-10-10 - cpan2dist 0.01-1mga - initial mageia release, generated with cpan2dist

    Advertisement
    Advertisement