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"; }
In reply to Re^2: Parsing hash from XML::Simple
by Anonymous Monk
in thread Parsing hash from XML::Simple
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |