Perl Programming Question:
Download Job Interview Questions and Answers PDF
What does read() return at end of file?
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.) |