I am still trying to improve..

You have so far shown no evidence of trying anything. Try something, and come back when you have a (fairly brief) specific question about a specific problem. This "here's my (long and vaguely defined) problem requirements, write me a solution" strategy does not (usually) work around here.

(Update: You may have better luck with your current strategy over at RentACoder).

More update: (Marginally) Good starter questions might include: I have this one example line of text, how do I split it into an array variable...or...I have these two lines of text, how do I split and read them into a hash array keyed by this field (also: a "here is what I tried" would help). Answers would probably be pointers to a FAQ or documentation, though they are brief enough that someone may throw out sample code. You seem like you may even need help with these basics. Do you? I don't know how you expect to solve your problem without getting past the basics first.


In reply to Re^7: Adding object identifiers corresponding to matched headers and sub-headers. by runrig
in thread Adding object identifiers corresponding to matched headers and sub-headers. by Kiran Kumar K V N

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.