|P is for Practical|
Re: Parsing SOAP::Lite resultsby kcott (Chancellor)
|on Sep 28, 2012 at 10:38 UTC||Need Help??|
You effectively have arrays nested within arrays, so you'll need some sort of nested loops to read the data.
If you change
you'll get the results you're after.
[Aside: On first viewing, I found your naming conventions somewhat counter-intuitive: Toys and ToyLocations are both plural but point to single objects; Toy and ToyLocation are both singular but point to (potentially) multiple objects. In the context of the Dumper output, it's fairly easy to see what's intended; in isolation, those names may easily lead to problems of misinterpretation (particularly if you or someone else revisits the code 12 months down the track).]