in reply to HASH problem

You don't tell us what the problem is, but where in the documentation of Data::Dumper did you find this usage:

my %coins = Dumper($call);

Please try to explain to us what this code sequence is supposed to do:

my $call = $coder->decode($xml_string); my %coins = Dumper($call); print $coins{'originHostName'};

Replies are listed 'Best First'.
Re^2: HASH problem
by masil (Initiate) on Aug 11, 2011 at 12:57 UTC
    Thanks for your reply. when I print $coins{'originHostName'};, I expect to have the output "host" but it is just blank

      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.
        Hi Corion, How best can I handle this. I must mention that I am new to Perl.