Fragile code. Your CSV parsing is using split which is bound to break.
What you want to do is already done in csv2xls which comes with Text::CSV_XS. You can learn by reading the code. It is Open Source.
In reply to Re: CONVERTING CSV TO XLS
by Tux
in thread CONVERTING CSV TO XLS
by mayanks94
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |