in reply to Re^4: Read from multiple files change the data with a script and the write the respective output files with a different extension
in thread Read from multiple files change the data with a script and the write the respective output files with a different extension
There are 2 key conceptual problems here.
Firstly you reference @files in a location where it has not been declared. You need to consider scoping with regard to subs.
Secondly, you have put your new code inside a for loop which is itself inside a while loop. Can you explain why you think this means it would only be executed once?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Read from multiple files change the data with a script and the write the respective output files with a different extension
by Akatsuki (Novice) on Oct 14, 2016 at 06:21 UTC |