pajout has asked for the wisdom of the Perl Monks concerning the following question:
is used in perl via... <httpd><![CDATA[ ...1st piece of httpd configuration ]]></httpd> ... <httpd><![CDATA[ ...2nd piece of httpd configuration ]]></httpd> ...
And now I need add the attribute into httpd element, to distinguish between them, but keep the element order in perl processing.XML::Simple->new(ForceArray=>['httpd']); ... foreach {@{$conf->{httpd}} #do something }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: HOWTO XML::Simple
by davidrw (Prior) on Oct 21, 2005 at 12:18 UTC | |
by mirod (Canon) on Oct 21, 2005 at 12:27 UTC | |
by pajout (Curate) on Oct 21, 2005 at 13:45 UTC | |
|
Re: HOWTO XML::Simple
by planetscape (Chancellor) on Oct 21, 2005 at 12:54 UTC | |
|
Re: HOWTO XML::Simple
by murugu (Curate) on Oct 21, 2005 at 11:34 UTC | |
by pajout (Curate) on Oct 21, 2005 at 12:35 UTC | |
|
Re: HOWTO XML::Simple
by pajout (Curate) on Oct 25, 2005 at 11:43 UTC | |
by grantm (Parson) on Oct 27, 2005 at 00:02 UTC | |
by pajout (Curate) on Oct 27, 2005 at 12:09 UTC |