On 29 Jun 2003 23:43:42 -0700
[email]cdcer@hongkong.com[/email] (ABC) wrote:
>print on closed filehandle main::DST at tempQGen line 71, <SRC> chunk
>28.
>
>I understand the meaning of this error message, but I want to know how
>to solve it?
In such cases, 'use diagnostics' might help you with what exactly you
need to do.
>How could I open and close this filehandle many times inside a
>for-loop? Or how could I clear the filehandle?

This is a FAQ and is covered in the perl documentation.

perldoc -q "filehandle local"

Regards,
Thens.