Perl script to parse Excel spreadsheets to text file(s)

Concluído Postado Apr 1, 2015 Pago na entrega
Concluído Pago na entrega

Create a Perl script.

The script should look at all subdirs of current dir and create a list

of excel (xlsx) file. For each file it parse excel first sheet only.

NOTE: All Spreadsheets can be in different encoding, the resulting files should be in utf-8

Script should do something like this (pseudocode):

print filename

print sheet Name

join cells of each row by '#!#' delimiter

check if first line of the current sheet is like

'First Name#!#Last Name#!#Email#!#Company#!#Job Title#!#Address#!#Phone#!#Country#!#ParentCategory#!#Category#!#SubCategory1#!#SubCategory2#!#SubCategory3'

if not, produce warning and continue

parse each line into ($FirstName, $LastName, $Email, $Company, $JobTitle, $Address, $Phone, $Country, $ParentCategory, $Category, $SubCategory1, $SubCategory2, $SubCategory3)

skip if no email

substitute comma to period in email (common typo)

trim email

check email for validity

put each line into hash with lower case email as a keys

print sorted hash for import to DB

Perl

ID do Projeto: #7411544

Sobre o projeto

4 propostas Projeto remoto Ativo em Apr 2, 2015

Concedido a:

zkutch

Hi. more 20 years programming experience. I have several question to set real price and time, but let me, pls, state first one - which os you have in view? regards.

$50 USD em 2 dias
(11 Comentários)
3.5

4 freelancers estão ofertando em média $47 nesse trabalho

sveralex

Hello, thank you for the invitation. Can you post a couple Excel files to review -- Thank you Alexey

$41 USD in 2 dias
(3 Comentários)
3.0
sachitjani81

A proposal has not yet been provided

$66 USD em 1 dia
(4 Comentários)
2.0
gokulanand

Hello, I understand your requirement. It looks like the project will be easier and makes sense to do in VBA ( macros ) rather doing in Python. Let me know if you are interested, I can get the task done in 2 to 4 hou Mais

$30 USD in 0 dias
(1 Comentário)
0.8