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


getc

getc 
filehandle

Returns the next byte from the input file attached to filehandle . At end-of-file, it returns a null string. If filehandle is omitted, the function reads from STDIN. This operator is very slow, but is occasionally useful for single-character input from the keyboard.


Previous: Reference: formline Perl in a Nutshell Next: Reference: getgrent
Reference: formline Book Index Reference: getgrent

Library Navigation Links

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