Kiran Kumar K V N,
A little bit of advice.
Adding object identifiers corresponding to matched headers and sub-headers. reads like a poorly written functional spec. I accept that there are language barriers, but I do not believe them to be a big factor in this issue. You have essentially
posted a request for someone else to produce working code based purely on your requirements. Around here the kind folk offer help and advice free of charge. It is a little insulting (repeatedly) asking people to do (what I assume) is a work related task you are being paid to do.
If you are new to Perl, check out the
Tutorials section of this site. There are
tutorials ranging from "hello world" type lessons right up to some pretty advanced concepts.
"I am unable to transform the Logic of your code to write the new code for the current Scenario over here."
What have you tried? Do you have any Perl code to show us? Seriously, making a little effort helps. Break down the task into small stages (as
jZed advised
here) and work on each part. If you get stuck, post (take into account the advice I
previously gave you) the code and a description of the problem.
Hope this helps
Martin