in reply to get_xf_index error
At a guess I'd say that the $worksheet object has been garbage collected before you try to use it in colcmp():
You can verify that by adding a $workbook->close() to the end of your program.sub colcmp { ... $worksheet->write_rich_string($comp_row, $col->[0], join(",", +@wmap)); }
--
John.
|
---|
In Section
Seekers of Perl Wisdom