in reply to Re: Re: XML::Simple parsing :-(
in thread XML::Simple parsing :-(
According to that documentation, you probably want the ForceArray option:
my $ref = $xs->XMLin($doc, ForceArray => [ 'incident' ]);
PS: You don't need quotes on $doc when you're passing it to the subroutine.
-- Chip Salzenberg, Free-Floating Agent of Chaos
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: XML::Simple parsing :-(
by st4k (Novice) on Jun 20, 2003 at 00:12 UTC | |
by bobn (Chaplain) on Jun 20, 2003 at 03:01 UTC |