home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


Perl CookbookPerl CookbookSearch this book

15.9. Checking for Waiting Input

15.9.3. Discussion

The -1 parameter to ReadKey indicates a non-blocking read of a character. If no character is available, ReadKey returns undef.



Library Navigation Links

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