in reply to Re: inserting a perl array into an Excel doc with OLE
in thread inserting a perl array into an Excel doc with OLE

I think the right code is:

$sheet1 -> Range("A1:D4") -> {Value} = \@average_values_table;

(In other words, referring to the array's address).

If you use an anonymous array, you're needlessly creating a new array.