raju_400 has asked for the wisdom of the Perl Monks concerning the following question:
use XML::Simple; .. my @outputInfo = qx[$cmd]; my $ref = XMLin(@outputInfo);
The execution shows: Options must be name=>value pairs (odd number supplied)
The start of the output contains a string: "Starting webservices call..." etc followed by <> xml tags on the next line. Is that the reason XMLin could not treat this as a valid xml doc. Or should we only use scalar vars in XMLin (I have used an array)?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XML parsing
by moritz (Cardinal) on Sep 17, 2008 at 07:45 UTC | |
|
Re: XML parsing
by pjotrik (Friar) on Sep 17, 2008 at 08:02 UTC | |
|
Re: XML parsing
by mscharrer (Hermit) on Sep 17, 2008 at 09:34 UTC | |
by Jenda (Abbot) on Sep 17, 2008 at 12:53 UTC | |
by mscharrer (Hermit) on Sep 17, 2008 at 15:23 UTC | |
by Jenda (Abbot) on Sep 17, 2008 at 20:43 UTC | |
by mscharrer (Hermit) on Sep 17, 2008 at 23:26 UTC | |
|
Re: XML parsing
by wol (Hermit) on Sep 18, 2008 at 15:49 UTC | |
by raju_400 (Novice) on Sep 22, 2008 at 05:43 UTC | |
by ikegami (Patriarch) on Sep 22, 2008 at 06:03 UTC | |
by raju_400 (Novice) on Sep 22, 2008 at 07:19 UTC | |
by ikegami (Patriarch) on Sep 22, 2008 at 07:32 UTC |