Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

ArrayofStrings is a way of saying you get back an array, and the array elements are strings. You seem to think ArrayofStrings is an object type.

Why don't you try running the program under the debugger: perl -d and have the program run to the point where $result has been assigned its value: c linenumber eg c 186. Then you can experiment typing expressions and having perl tell you what you asked for.

DB<1> print $results HASH(0x8421888) # So $results stores a reference to a hash DB<2> print join ', ', keys %$results string # So the hash has a single key, 'string' DB<3> print $results->{string} ARRAY(0x8421438) # So the hash stores a reference to an array as the value for its only + key DB<4>print $results->{string}[0] # This part left as an exercise for the reader.

When you don't understand what's happening, fire up the debugger and experiment. No one ever blew up their computer running a debugger ( except that one guy, we don't mention him.)

As Occam said: Entia non sunt multiplicanda praeter necessitatem.

In reply to Re: Troubles accessing data using SOAP::Lite and WSDL service by TomDLux
in thread Troubles accessing data using SOAP::Lite and WSDL service by beaufils

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others cooling their heels in the Monastery: (2)
    As of 2018-04-24 00:09 GMT
    Find Nodes?
      Voting Booth?