IO::Prompt

IO::Prompt is a Perl module to interactively prompt for user input.
Download

IO::Prompt Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Damian Conway
  • Publisher web site:
  • http://search.cpan.org/~dconway/

IO::Prompt Tags


IO::Prompt Description

IO::Prompt is a Perl module to interactively prompt for user input. IO::Prompt is a Perl module to interactively prompt for user input.SYNOPSIS use IO::Prompt; while( prompt "next: " ) { print "You said '$_'n"; }By default, this module exports a single function prompt. It prompts the user to enter some input, and returns an object that represents the user input.You may specify various flags to the function to affect its behaviour; most notably, it defaults to automatically chomp the input, unless the -line flag is specified.Two other functions are exported at request: hand_print, which simulates hand-typing to the console; and get_input, which is the lower-level function that actually prompts the user for a suitable input.Note that this is an interim re-release. A full release with better documentation will follow in the near future. Meanwhile, please consult the examples directory from this module's CPAN distribution to better understand how to make use of this module. Requirements: · Perl · version · IO::Handle · Term::ReadKey · POSIX


IO::Prompt Related Software