Main script
use XML::Simple;
use Data::Dumper;
my $config = XMLin();
print Dumper($config);
Config.xml
<Config>
<Application Name="App1">
<Location Name="Loc1">
<CDrive>C:\Temp</CDrive>
<ZDrive>Z:\Temp</ZDrive>
</Location>
</Application>
</Config>
Dumper
In reply to XML:Simple Config by PerlScholar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |