in reply to XML::Simple troubles
#!/usr/bin/perl -w use strict; use warnings; use XML::Simple; use Data::Dumper; my $Document =XMLin("foo.xml"); while (my ($key, $val) = each %{$Document->{Placemark}}){ print "Found key '$key' with value " . Dumper($val); }
(I stored the XML file locally on disc, obviously).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: XML::Simple troubles
by Anonymous Monk on May 26, 2008 at 08:06 UTC | |
by moritz (Cardinal) on May 26, 2008 at 08:22 UTC | |
by carterniall (Novice) on May 27, 2008 at 08:18 UTC | |
by moritz (Cardinal) on May 27, 2008 at 09:13 UTC | |
by carterniall (Novice) on May 26, 2008 at 12:17 UTC | |
by moritz (Cardinal) on May 26, 2008 at 12:29 UTC | |
by Corion (Patriarch) on May 26, 2008 at 12:35 UTC |