in reply to Perl - Linux - Unable to Write Files
If the script as posted were runnable, it would not create any output files at all, because you can't open an output file with an empty string as the file name. Apart from that, if the output file name were not an empty string, the script as posted would simply be creating one output file for each input, and would just copy all the input file content to the output file.
If you can post a version that actually compiles, and does something like what you describe as your problem, maybe we can help you.
|
|---|