ddragosa has asked for the wisdom of the Perl Monks concerning the following question:
print $data->{profile}[0]->{protocol};use XML::Simple; use Data::Dumper; use XML::Parser; my $simple = XML::Simple->new (ForceArray => 1, KeepRoot => 1); my $data = $simple->XMLin('template_POS.ssp'); $VAR1 = { 'profile' => [ { 'protocol' => 'Hypercom', 'scenario' => [ { 'test' => [ { 'id' => '001', 'channel' => 'Non +e', 'message_data' => + [ + { + 'H001' => [ + { + 'i' => [ + '**MS**' + ], + 'o' => [ + '**MS**' + ] + } + ], etc...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XML Simple
by jettero (Monsignor) on Jan 25, 2010 at 14:03 UTC | |
|
Re: XML Simple
by Jenda (Abbot) on Jan 25, 2010 at 14:25 UTC | |
by jettero (Monsignor) on Jan 25, 2010 at 21:29 UTC | |
by Jenda (Abbot) on Jan 25, 2010 at 23:42 UTC |