Term::GetKey

Term::GetKey is a Perl module for quick easy simple key control.
Download

Term::GetKey Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Barry Pollock
  • Publisher web site:
  • http://search.cpan.org/~barryp/LibTerm-GetKey-1.02/GetKey.pm

Term::GetKey Tags


Term::GetKey Description

Term::GetKey is a Perl module for quick easy simple key control. Term::GetKey is a Perl module for quick easy simple key control.This module changes the settings of Term::ReadKey using the `' as a toggle key. qtty() makes a single character request to Term::ReadKey which is esential for the functionality of this module. `|' toggles the case of the output character to UPPERCase lowercase or off. qtty() and keypasswd() and query() use chomp on all input.use Term::Getkey;my $ch;#$ch can be any scalar variable$ch = qtty();#single character good for menus. The methods in this module are dynamically loded so you do not need the full prefix Term::GetKey-> prefix to call a method.status();will announce the key strokes the module uses.The Term::ReadKey reserve words: ReadKey ReadMode ReadLine GetTerminalSize SetTerminalSize GetSpeed GetControlChars SetControlCharsare still available and functional.qtty() keypasswd() query() status() setkeymode()keymode() setannounce() announcestatus() setcase() casestatus() Kmstatus() is the list of methods that do not require the full system path and module name before the method name.When you press `|' or `' and then a `\n' depending on the settings you cycle through the settings of Term::ReadKey. The keys effected by Term::GetKey->qtty are disabled in noecho mode. When Term::GetKey is in (cbreak, raw or ultra-raw) modes the `n' or enter key is not required. Requirements: · Perl


Term::GetKey Related Software