start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: Info Chapter 19
Win32 Modules and Extensions
Next: Reference: InputChar
 

Input

$

cons


->Input

Reads an event from the input buffer. Returns a list of values, determined by the type of event. A keyboard event will contain the following values, in order:

A mouse event will return the following values, in order:

This method will return undef on error.

Note that the events returned depend on the input mode of the console; for example, mouse events are not intercepted unless ENABLE_MOUSE_INPUT is specified.


Previous: Reference: Info Perl in a Nutshell Next: Reference: InputChar
Reference: Info Book Index Reference: InputChar

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.