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

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: formline Chapter 5
Function Reference
Next: Reference: getgrent
 

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