in reply to Re: Conditional creation of files - global or scoped filehandle
in thread Conditional creation of files - global or scoped filehandle
Yes that is correct. I was mostly interested in the best way to tackle such an issue but as pointed out in the first reply - declaring the filehandles outside of the IF-statement is probably the easiest solution.