Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Parse Results of SOAP response

by Anonymous Monk
on Dec 14, 2011 at 23:16 UTC ( #943629=note: print w/replies, xml ) Need Help??


in reply to Parse Results of SOAP response

References quick reference

my( $nuts ) = $res->paramsall(); my $pkid = $nuts->{row}{pkid};

Replies are listed 'Best First'.
Re^2: Parse Results of SOAP response
by lefty29er (Novice) on Dec 15, 2011 at 02:12 UTC
    Wow, it works like a charm. Thanks very much. Hoping to move past noob stage here sometime soon.....
      "We are all students in the Dojo".

      I have found that I never get out of the 'Noob' stage, I'm just a noob at something different. (Currently it's Moose and pack/unpack)

      ----
      I Go Back to Sleep, Now.

      OGB

        Thanks for the reply OGB. Glad to know there are noobs of all stages out there ;-) You have any advice on printing the results when there is an array returned from a query such as below:
        $VAR1 = { 'user' => { 'associatedDevices' => { 'device' => [ '002170CB5E0F', 'SEP12312312345 +7' ] },
        I need to handle both of the 'devices' that are returned inside []. I've gone through some iterations trying to derefernce the array but just keep coming up with "ARRAY(0x21a0650)". Thanks!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://943629]
help
Chatterbox?
[Discipulus]: why perl -e 'print q(\'a string\'),"\n"' gives -bash: syntax error near unexpected token `)' ??
[Discipulus]: i'm not escaping correctly?
[moritz]: Discipulus] iirc bash doesn't let you escape ' with \
[moritz]: not inside a single-qouted string at least
[moritz]: echo 'a'\''

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2017-11-24 10:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (346 votes). Check out past polls.

    Notices?