Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: formlineChapter 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: formlinePerl in a NutshellNext: Reference: getgrent
Reference: formlineBook IndexReference: getgrent