Isn't it at least theoretically possible for close to return an error?Yes, but that's normally only important for files open for writing, sockets and pipes. But usually you don't really care if you can't close a filehandle that you have open for reading.
Abigail
In reply to Re: Don't close filehandles (was: To Kill a Meme: while(defined($line = <>)) )
by Abigail-II
in thread To Kill a Meme: while(defined($line = <>))
by sauoq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |