Term::InKey - Perl extension for clearing the screen and receiving a keystroke.


Term-InKey documentation  | view source Contained in the Term-InKey distribution.

Index


NAME

Top

Term::InKey - Perl extension for clearing the screen and receiving a keystroke.

SYNOPSIS

Top

        use Term::InKey;

        print "Press any key to clear the screen: ";
        $x = &ReadKey;
        &Clear;
        print "You pressed $x\n";

DESCRIPTION

Top

This module implements Clear() to clear screen and ReadKey() to receive a keystroke, on UNIX and Win32 platforms. As opposed to Term::ReadKey, it does not contain XSUB code and can be easily installed on Windows boxes.

FUNCTIONS

Top

TODO

Top

Write a function to receive a keystroke with time out. Easy with select() on UNIX.

COMPLIANCE

Top

This module works only on UNIX systems and Win32 systems.

AUTHOR

Top

This module was written by Ariel Brosh (R.I.P), November 2001, for RAZ Information Systems.

Now maintained by Oded S. Resnik razinf@cpan.org

COPYRIGHT

Top

SEE ALSO

Top

stty, tcsetattr, termcap, Term::Cap, POSIX, Term::ReadKey, Term::ReadPassword.


Term-InKey documentation  | view source Contained in the Term-InKey distribution.