Perl Programming Question:
Download Questions PDF

What does read() return at end of file?

Perl Programming Interview Question
Perl Programming Interview Question

Answer:

0
A defined (but false) 0 value is the proper indication of the end of file for read() and sysread().

Download Perl Programming Interview Questions And Answers PDF

Previous QuestionNext Question
Why does Perl not have overloaded functions?What does new $cur->{LINK} do? (Assume the current package has no new() function of its own.)