in reply to Re^2: erron in spreadsheet::Write Excel
in thread erron in spreadsheet::Write Excel

I don't know what particular error causes the problem you described, but the code is very hard to read (no indenting at all) and misses basic sanity measures (such as use strict; use warnings;).

Without any data files it's basically impossible for us to debug.

However there are some lines that look very suspicious to me:

open $file1 = "executable_$Fld[0]"; open $file2 = "not_executable_$Fld[0]";

What do you think these lines do? I've never seen that idiom before.