in reply to xml::simple foreach
my $xmlfile = new XML::Simple (Outputfile => $conf, ForceArray => 1, RootName=>'exec'); my $xml = $xmlfile->XMLin($conf); use Data::Dump qw(dump); print "XML => " . dump( $xml );
This should be a good starting point to see what you are working with.
|
|---|