in reply to Re: HASH problem
in thread HASH problem

Thanks for your reply. when I print $coins{'originHostName'};, I expect to have the output "host" but it is just blank

Replies are listed 'Best First'.
Re^3: HASH problem
by Corion (Patriarch) on Aug 11, 2011 at 13:09 UTC

    Why do you expect Dumper() to populate your hash? Where in the documentation of Data::Dumper did you find this usage?

      How best can i handle it. Sorry am a novice to Perl.

        If you don't know Perl, why do you write things without having an idea what they do or having a goal what they should do?

        Maybe you want the following?

        print Dumper($call);
      Hi Corion, How best can I handle this. I must mention that I am new to Perl.

        I suggest that you learn Perl.