in reply to problem opening and reading from a file
open(OUT,"> /export/home/foo/bar/test.csv") or die "Cannot open output + file;
That's causing the problem.
What does "use Diagnostics" tell you?
Every bit of code is either naturally related to the problem at hand, or else it's an accidental side effect of the fact that you happened to solve the problem using a digital computer.
M-J D
|
|---|