in reply to Text file to Excel with perl
Looks like you want to convert pipe-separated data to Excel. Would csv2xls be an option for you?
$ csv2xls -s'|' -o file.xls file.txt
This utility does essentially what you describe, but switches to using Spreadsheet::WriteExcel::Big if the size of the input file is over 5Mb
Maybe just changing use Spreadsheet::WriteExcel; to use Spreadsheet::WriteExcel::Big; will fix your issue.
update: it used to switch to the ::Big version until Oct 2011, when I noted that Spreadsheet::WriteExcel deprecated ::Big back in 2007.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Text file to Excel with perl
by fishmonger (Chaplain) on Feb 28, 2014 at 18:11 UTC | |
by Tux (Canon) on Feb 28, 2014 at 18:52 UTC |