[Israel.pm] CSV

Georges EL OJAIMI g-ojaimi at cyberia.net.lb
Tue Feb 24 10:46:43 PST 2004


I have a large CSV file containing personal information about clients in
the following format:

# Input Blocks
A23,class A,subcontract,jan,2003

I want to make it appear this way:

# Output Blocks

A23,class A,subcontract,jan,2003,33,male,1980,last,middle,first
A23,class A,subcontract,jan,2003,34,female,1981,last,middle,first

Does any one have any good idea of processing such file, my knowledge in
PERL is not that much so my traditional way of solving this problem
didn't help.
P.S. The Input Blocks are listed one after the other.

Best Regards,

More information about the Perl mailing list