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";
In Section
Seekers of Perl Wisdom