topical media & game development
professional-xml-17-perl-readcustomers.pl / pl
use XML::Simple;
use Data::Dumper;
my doc = XMLin(doc->{customer}->{ALFKI});
print "\n============================\n";
# Coerces structure into arrays (outputs as elements)
print "Output as elements\n";
my file, ForceArray=>1);
print XMLout(doc = XMLin(doc->{customer}->[0]);
print "\n============================\n";
# Return selected elements
print "Return selected elements\n";
my file);
print
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.