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 reply to Re: get_xf_index error
by jmcnamara
in thread get_xf_index error
by ag4ve
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |