#!/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).
In reply to Re: XML::Simple troubles
by moritz
in thread XML::Simple troubles
by carterniall
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |