in reply to Re: Frontier::Client mystery result string hash
in thread Frontier::Client mystery result string hash
Yup, you got it. I had been unable to create a matching data structure prior to your hint. This works:
But I decided the following looked "cleaner". It makes me cringe, but here it is:print "Print city: $result->[0]{'city'}\n";
I still can't quite figure out why Frontier::Client put this result in such a pointlessly nested data structure...my %hash = %{$result->[0]}; # copy result to new hash ... print "Print city: $hash{'city'}\n";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Frontier::Client mystery result string hash
by jbrugger (Parson) on Feb 16, 2005 at 05:44 UTC | |
Re^2: Frontier::Client mystery result string hash
by ikegami (Patriarch) on Feb 16, 2005 at 06:46 UTC | |
by brycen (Monk) on Feb 16, 2005 at 19:50 UTC | |
by ikegami (Patriarch) on Feb 17, 2005 at 15:40 UTC | |
Re^2: Frontier::Client mystery result string hash
by dragonchild (Archbishop) on Feb 16, 2005 at 13:22 UTC |
In Section
Seekers of Perl Wisdom