Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: PeekInputChapter 19
Win32 Modules and Extensions
Next: Reference: ReadChar
 

ReadAttr

$cons->ReadAttr([number, col, row])

Reads the specified number of consecutive attributes from the console, beginning at col, row. Returns the attributes read (a variable containing one character for each attribute), or undef on error. You can then pass the returned variable to WriteAttr to restore the saved attributes on screen.


Previous: Reference: PeekInputPerl in a NutshellNext: Reference: ReadChar
Reference: PeekInputBook IndexReference: ReadChar

Library Navigation Links

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