Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: CONVERTING CSV TO XLS

by Tux (Monsignor)
on May 26, 2014 at 06:25 UTC ( #1087393=note: print w/ replies, xml ) Need Help??


in reply to CONVERTING CSV TO XLS

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.


Enjoy, Have FUN! H.Merijn


Comment on Re: CONVERTING CSV TO XLS
Select or Download Code
Re^2: CONVERTING CSV TO XLS
by mayanks94 (Initiate) on May 26, 2014 at 07:15 UTC
    Sir, Could you please help me out and remove the 'split' and add the appropriate method to make the code work and post it :)
        Sir, Would you be kind enough to edit this code only ? and make changes to the split part in order for it to perform the function i want the program to do ?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1087393]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2014-12-27 10:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls