in reply to Which XML module to use for this scenario?
If it's just a quasi XML file that you're appending values to because there is no root node, then I'd suggest you use XML::Simple.
use XML::Simple; use strict; use warnings; my $hash = {key => 1, content => "process a"}; print XMLout($hash, RootName => 'Parameter');
If it's a fully valid xml file that you'll be reading and re-writing each time, then I'd use XML::Twig.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Which XML module to use for this scenario?
by jellisii2 (Hermit) on Apr 21, 2011 at 17:54 UTC | |
|
Re^2: Which XML module to use for this scenario?
by Perllace (Acolyte) on Apr 23, 2011 at 06:57 UTC | |
by wind (Priest) on Apr 23, 2011 at 07:42 UTC | |
by Perllace (Acolyte) on Apr 23, 2011 at 13:27 UTC | |
by wind (Priest) on Apr 23, 2011 at 15:49 UTC |