in reply to Loop Through Files and Update Headers
But, when opening it, you correctly specify the path as "Output/$in". You should do the same when tying the file:
tie my @array, 'Tie::File', "Output/$in" or die ... # ~~~~~~~
Otherwise, it just creates a new file in the current directory, populates its first line, and that's it.
|
|---|