Hi, I have got 1 file which looks like this
COMPANY=xyz
system.employee[0].Name=shayam
system.employee[0].Age=26
system.employee[0].sex=Male
system.employee[1].Name=ram
system.employee[1].Age=28
system.employee[1].sex=Male
COMPANY=bhg
system.employee[0].Location=Bangalore
system.employee[0].Number=26
system.employee[1].Location=chennai
system.employee[1].Number=28
I want to form a table with company xyz with columns Name , Age, sex and one more table with columns Location & Number. Can you help me how to acheive this using perl The output should be like this
COMPANY xyz Name Age Sex Shayam 26 Male Ram 28 Male COMPANY bgh Location Number Bangalore 26 Chennai 28
Thanks