in reply to Fetch field values from API output
Since you have the values in an array, I'd fetch the values from the array.
Slightly more seriously: Since you have an XML document, you might investigate one of the many XML parsers found on http://www.cpan.org.
Anyway, on to a real answer: I have no idea what your difficulty is, since you didn't describe your problem, and you didn't show the code where you read the values into the array. All I can do is guess...
Guess 1: To get your values into the array, you just read it from a file and have no idea what to do with it. If that's the case, go to CPAN and find an XML parser and start digging in. Or you could post the code you're having trouble with.
Guess 2: You're somehow calling a web service with perl without knowing anything about perl, XML or SOAP. In that case, I'd start researching and probably the person who helped you get to where you are now. If you can't reach them, you might try posting the code you're having trouble with.
Guess 3: You're calling a web service with perl and you do know perl and a few other things, and are just having trouble with a SOAP library. Well, in that case, if you post the code you're having trouble with, someone might be able to help you find the problem.
Well, that about does it for my guesses. If none of those are helpful, you might try this: Post the code giving you the problems, and ask a coherent question, and perhaps someone will be able to help you out.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Fetch field values from API output
by rkrish (Acolyte) on Dec 13, 2012 at 12:46 UTC | |
by roboticus (Chancellor) on Dec 13, 2012 at 18:32 UTC |