- or download this
use warnings;
#use strict;
use XML::Simple;
...
my $data = $xml->XMLin("data1.xml");
print Dumper($data);
- or download this
<?xml version='1.0'?>
<employees>
<employee>
...
<department>Accounts</department>
</employee>
</employees>
- or download this
$data = {
'employee' => [
...
}
]
};
- or download this
$VAR1 = {
'employee' => {
...
}
}
};