Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 perusing the Monastery: (8)
As of 2015-07-07 06:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (87 votes), past polls