What does read() return at end of file in perl?-Perl interview

What does read() return at end of file in perl?
0
A defined (but false) 0 value is the proper indication of the end of file for read() and sysread().

No comments:

 
Top Blogs