in reply to XML::Simple - storing/retrieving 2 tables into 1 XML file
foreach $e (@{$data->{Phones}})
foreach (@$data) { my $e = $_->{Phones};