PerlScholar has asked for the wisdom of the Perl Monks concerning the following question:
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XML:Simple Config
by dasgar (Priest) on Sep 01, 2010 at 20:25 UTC | |
by PerlScholar (Acolyte) on Sep 02, 2010 at 13:19 UTC | |
by grantm (Parson) on Sep 02, 2010 at 21:45 UTC | |
|
Re: XML:Simple Config
by CountZero (Bishop) on Sep 01, 2010 at 19:09 UTC | |
|
Re: XML:Simple Config
by dHarry (Abbot) on Sep 02, 2010 at 09:02 UTC |