in reply to Re: Parsing hash from XML::Simple
in thread Parsing hash from XML::Simple
Using a loop:Can't use string ("visibility") as a HASH ref while "strict refs" in u +se at
foreach my $vals (keys %{$xml}) { print $vals->{city}{name}, "\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Parsing hash from XML::Simple
by NetWallah (Canon) on May 16, 2016 at 19:11 UTC | |
by Anonymous Monk on May 16, 2016 at 19:24 UTC | |
by Corion (Patriarch) on May 16, 2016 at 19:47 UTC | |
by Laurent_R (Canon) on May 16, 2016 at 20:43 UTC | |
by Anonymous Monk on May 17, 2016 at 13:12 UTC | |
by Corion (Patriarch) on May 17, 2016 at 13:18 UTC | |
by NetWallah (Canon) on May 17, 2016 at 14:06 UTC |