Since your last three questions all quote (at length!) the same data and (largely) bear on the same issues, perhaps you should:
  1. Read Learning Perl or a comparable primer instead of asking the Monks to create a point by point tutorial, ad hoc. (See On asking for help and How do I post a question effectively?)
  2. Review the available tutorials on this site
  3. Study prior answers for clues on how to answer your current question, notably: use strict; use warnings; insert print (and ADDITIONAL Data::Dumper statements) to help you track what's actually happening in your code; and tell us exactly how you've tried to resolve your problem. That last might give us some further clues in the effort to clear up your blind-spots and misconceptions.

Also noted: questions on this data-set have been posted under two different user names, milan.dalwadi and mak.jordan. You should be aware the PM frowns on the use of multiple-logins (except for the Gods and a very few, rare exceptions)... and that the persistent questions about a single data sample raise questions about whether this is homework, $work or ??.


Questions containing the words "doesn't work" (or their moral equivalent) will usually get a downvote from me unless accompanied by:
  1. code
  2. verbatim error and/or warning messages
  3. a coherent explanation of what "doesn't work actually means.

check Ln42!


In reply to Re: not defined Hash data came why? by ww
in thread not defined Hash data came why? by mak.jordan

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.