You don't have to close it, but you do need to make sure that any writes that you want considered have been flushed (either by setting $|, calling $fh->flush, or closing it if you really are done).</pedant>
In reply to Re^2: if -s clause on a FILEHANDLE
by Fletch
in thread if -s clause on a FILEHANDLE
by drock
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |