Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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?
[1nickt]: Corion this looks good, from the pod: "there are 9000+ variations that are detected correctly in the test files (see t/data/* for most of them). If you can think of any that I do not cover, please let me know."
[TCLion]: some moron put the date like this : Mon Feb 20 09:31:30 2017
[Corion]: 1nickt: Yes, the module sounds promising indeed
[1nickt]: "putting the date in correct order" how?
[Corion]: TCLion: Whee ;)
[TCLion]: need to put like this : 2017-02-20 09:30:53
[1nickt]: That's why I asked if you are using DateTime. It has a large number of supporting modules (the author likes the term 'eco-system') so if you are already creating a DateTime obj from your dates, this module would read in the mnoron-formatted 1s seamlessly
[TCLion]: when I put the date together it looks like : 2017-Feb-24 (month is the problem)
[1nickt]: good luck, then.
[TCLion]: looking at DateTime documentation in monastery now

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (11)
As of 2017-03-23 14:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (288 votes). Check out past polls.