jagadish1982 has asked for the wisdom of the Perl Monks concerning the following question:
Please let me know how to open a XML file in read-only mode using XML::Simple. Thanks for all the Suggestionsmy $parser=XML::Simple->new(); my $doc = $parser->XMLin("./config.xml",, ForceArray => qr{Resource} +, keyAttr=> { 'server', 'name',KeepRoot => 1 });
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XML::Simple read only mode
by choroba (Cardinal) on Apr 21, 2015 at 14:55 UTC | |
|
Re: XML::Simple read only mode
by Athanasius (Archbishop) on Apr 21, 2015 at 14:59 UTC | |
|
Re: XML::Simple read only mode
by ikegami (Patriarch) on Apr 21, 2015 at 14:47 UTC |