Start New Discussion Reply to this Discussion Import .csv files
Hi I am generating a summary of useraccounts present on around 160 linux servers. I am retrieving the data through a script and storing around 160 csv files in a directory. I want to import all these 160 csv files to one excel worksheet. Can someone please tell me how to acieve this ?
ashiiiish
Light Poster
36 posts since Jun 2011
Reputation Points: 10
Solved Threads: 1
Skill Endorsements: 0
Hi ashiiiish,
Consider using these modules from CPAN namely:
1. Text::CSV_XS
2. Spreadsheet::WriteExcel
From the directory read each of the CSV using Text::CSV_XS or Text::CSV,
then write to a new Excel Sheet created by Spreadsheet::WriteExcel.
Check examples these modules except you have sample of what to share here.
Hope this helps.
2teez
Junior Poster
159 posts since Apr 2012
Reputation Points: 40
Solved Threads: 32
Skill Endorsements: 0
© 2013 DaniWeb® LLC
Page rendered in 0.0710 seconds
using 2.63MB