Perl Programming Question: Download Questions PDF
What does read() return at end of file?
![Perl Programming Interview Answer Perl Programming Interview Question](https://globalguideline.com/public/images/interview/27.png)
Answer:
0
A defined (but false) 0 value is the proper indication of the end of file for read() and sysread().
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 Question | Next 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.) |