G'day mak.jordan (aka milan.dalwadi),

The code you're working from is what I provided in "Re^3: How to acess Hash data".

You've thrown away: strict, warnings, autodie, the 3-argument form of open, the use of lexical variables (except you're retained my %PG), checking for I/O problems and the logical indentation of your code.

Please go back and read what I said about ignoring advice in that post; the advice I gave you prior to that in "Re: How to acess Hash data"; and the advice other monks have given you (in both your guises as mak.jordan and milan.dalwadi).

I'm amazed that you ask for our help, ignore it, then ask for our help again. All that's likely to achieve is making us less inclined to help you any further.

-- Ken


In reply to Re: not defined Hash data came why? by kcott
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.