in reply to Using Filehandles #2
2) if you open a file handle, it has to be to *something*. Is your question on how to make it so you can change what file you're outputting to, that's different. It's like someone asking you how they save a Word document without giving it a name. And if your program doesn't know what it's writing to, how can you know what to view? Maybe if you clairify why you don't want to specify the name, we might be able to gleen some insight into what you're really trying to do. I think not specifying a name for the file is part of your solution to another problem.
Rich
|
|---|