Perl Programming/Keywords/eof

Previous: endservent Keywords Next: eq

The eof keyword

edit

eof is a function that returns 1 for true, if the next read over the file handle will return an end-of-file, or the file to be accessed by FILE_HANDLE is not open.

Syntax

edit
  eof FILE_HANDLE
Previous: endservent Keywords Next: eq