in reply to
Re: How to access elements that SOAP::Lite Returns
in thread How to access elements that SOAP::Lite Returns
Thanks, That was really helpful. The choices SOAP::Lite makes for the data structure seem entirely random (Hash or Array?!!) and unpredictable to me, so I just chose to get XML and parse it this way. It works for now. I'm open to more elegant solutions, but it works.
foreach my $campaign
(@{$output->{'SOAP-ENV:Body'}->{APIResponse}->{ClickFraudReport}->
+{Campaigns}->{Campaign}} ) {
print "\n\n";
print " Campaign: $campaign->{Name}\n";
print " Cost: $campaign->{Cost}\n";
...