in reply to Need Help in processing a file

Hi RajasekarV, and welcome to PerlMonks!

To help us in assisting you, please reformat your sample and output text within <code> tags, as doing so will provide a better picture of your issue(s). Additionally, include any code you've tried.