Jump to content

Perl Programming/Keywords/eof

From Wikibooks, open books for an open world
Previous: endservent Keywords Next: eq

The eof keyword

[edit | edit source]

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 | edit source]
  eof FILE_HANDLE
Previous: endservent Keywords Next: eq